5 Mar
2015
5 Mar
'15
8:16 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... there was also a discrepancy between what intellisense said and what the docs said. But we're digressing..
Perhaps it's time to retire the dispatching entirely. It's been quite a few years since I updated it, and the original form was practically impossible to use correctly in the first place. In Christ, Steven Watanabe