5 Mar
2015
5 Mar
'15
8 p.m.
AMDG On 03/05/2015 12:40 PM, John Maddock wrote:
There's nothing wrong with using uniform_01, but the declaration is:
template<typename RealType = double> class uniform_01;
not
template
class uniform_01; which is what you used.
That's what the docs say, but the "new" form is only dispatched to for native floating point types...
Aha. That's definitely a bug. When I wrote the dispatching code originally, I assumed that it would only have to work with builtin types. In Christ, Steven Watanabe