This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: functional, split tr1 and c++0x impl's ?
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Chris Fairles <chris dot fairles at gmail dot com>, libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Tue, 5 Aug 2008 17:11:51 -0500 (CDT)
- Subject: Re: functional, split tr1 and c++0x impl's ?
- Accept-language: en-US
- References: <fac6bb500808051500v6cb54732tf7d66a18e5d2fbfe@mail.gmail.com>
> Thoughts?
As soon as you have evidence than ~10 ifdefs are required just split, split, split. This tr1_impl idea, suggested by Doug, is very nice, IMO, because it allows for a smooth transition to the C++0x specifications, but as soon as we have evidence that C++0x is appreciably different, let's just split and obtain something much more clean even if a little redundant.
By the way, you may have noticed my recent suggestion about shared_ptr to Jonathan, he is right now splitting it...
Paolo.