|
Boost : |
Subject: Re: [boost] [random] Major update
From: Dave Abrahams (dave_at_[hidden])
Date: 2011-03-18 17:44:33
Awesome, Steven; it's great to see this library progressing. Where
does it stand in terms of compatibility with TR1/C++0x? I know that
for a while they had drifted quite widely out-of-sync.
On Fri, Mar 18, 2011 at 12:31 PM, Steven Watanabe <watanabesj_at_[hidden]> wrote:
> 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
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>
-- Dave Abrahams BoostPro Computing http://www.boostpro.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk