This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Differences in <random> from TR1 to C++-0X


On Wed, Nov 12, 2008 at 9:31 AM, Ed Smith-Rowland <3dw4rd@verizon.net> wrote:
> Greetings,
>
> I was looking over random both in TR1 and C++-0X and it seems, unlike most
> other components, the differences between TR1 and std (C++-0X) for random
> are rather significant.  Classes were added, removed, and renamed.
>
> Unfortunately, the std (C++-0X) version still uses the old (TR1) names for
> all
> relevant classes.
>
> I would be willing to try this if no one else is working on it.  (I noticed
> some activity
> on random that might help with some of the examples in Becker's book ;-) )
>
> Ed
>
>

I don't know of anyone actively working on c++0x <random> but in any
case it looks like it might be worth separating <tr1/random> from
c++0x's <random> (as it was done for tuple's, shared_ptr's etc).
Actually, I take that back. There's probably very few differences (if
any) in the implementations so I think #ifdef'ing on
__GXX_EXPERIMENTAL_CXX0X__ will suffice.

Chris


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]