This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [c++0x] random header
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: libstdc++ at gcc dot gnu dot org
- Cc: "germandiago at gmail dot com >> Germán Dia go" <germandiago at gmail dot com>
- Date: Thu, 19 Nov 2009 13:15:42 +0100
- Subject: Re: [c++0x] random header
- References: <b798010f0911190408l5c8afd38v649c0e334495120e@mail.gmail.com>
On 11/19/2009 01:08 PM, Germán Diago wrote:
> I tried a program which worked in visual studio 2010 beta 2.
> When I tried in gcc, it didn't work.
>
> I was using a variate_generator object, which is available in the
> microsoft implementation.
>
> So I looked for information about c++0x variate_generator and it's
> been removed!!
>
> Which is the reason? Anyone knows? It's very comfortable to use.
>
For sure it doesn't exist in the current C++0x draft, N3000. In fact,
the user interface of the C++0x <random> is rather different from the
TR1 version, in the ISO C++ web site you can find many papers
documenting the evolution of the former since 2005.
Paolo.