Subject: Re: [boost] [random] uniform_01 not usable in backwards compatible mode
From: John Maddock (boost.regex_at_[hidden])
Date: 2012-03-15 13:56:52
>> uniform_01 has a default constructor only (fine for the "new"
>> interface), but for the old interface, the base class has a single arg
>> constructor only and no default constructor. In other words there's no
>> way to construct a uniform_01 in backwards compatibility mode (when the
>> first template arg is a distribution).
> What about:
> explicit uniform_01(typename traits::rvalue_type rng);
My bad, you're quite right, apologies for the noise, John.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk