This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: std random
On Tue, Dec 09, 2008 at 02:29:26PM -0800, Benjamin Kosnik wrote:
>
> > * To do that, I want to avoid depending on the C++0x API/ABI, and
> > depend only on the more stable "traditional C++" API/ABI.
>
> Great. Situation normal.
>
> > But, I
> > might still want to use C++0x language features in my application.
>
> This is where you loose me. "Doctor, it hurts when I do this thing."
I think that gcc -std=c++0x should give the best approximation that
we have, and that it would be a mistake to default to some hybrid mode
with a c++0x-style compiler and an old-c++ library. It certainly
would be surprising. While we don't want users to start shipping
binaries with this stuff, we do want them to test it.
Also, it is certain that the compiler aspects of C++0x (overloading
for rvalue references and any other new features like that) are rock
stable from an ABI point of view now?