Boost logo

Boost :

Subject: Re: [boost] [random] Major update
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-03-18 15:31:18


AMDG

On 03/17/2011 04:50 PM, Mostafa wrote:
> On Thu, 17 Mar 2011 11:47:36 -0700, Steven Watanabe
> <watanabesj_at_[hidden]> wrote:
>
> <snip>
>
>> * Renaming:
>> - Whenever I renamed a class, I provided a wrapper
>> with the old name. There are also using declarations
>> in namespace boost for everything that I moved.
>> - The names of a few accessors in the distributions
>> changed. I left both the old and the new names in place.
>
> Are you/is there a way to notify, preferably at compile time, that
> said wrappers and old names are deprecated or are going to be deprecated?

Good point. If I wrap them in #ifndef,
BOOST_RANDOM_NO_DEPRECATED, I can
use it hide them from doxygen as well.

>> A few thing I know about, but haven't changed:
>> * lagged_fibonacci comparison is not technically
>> correct. It's possible for operator== to return
>> false in some cases where the generators will
>> actually produce identical (infinite) sequences.
>> The probability that this will ever actually happen
>> is very small. (As in 2^{-20000} for lagged_fibonacci607)
>
> Will this also be noted in the documentation?

No. It's not that hard to fix. I just made it
a low priority because it's so unlikely to make
a difference.

In Christ,
Steven Watanabe


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk