This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: std::ext STL (was: Re: design doc on alternative pointer support)
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Phil Bouchard <philippe at fornux dot com>, libstdc++ at gcc dot gnu dot org
- Date: Tue, 29 Jul 2008 14:26:51 -0500 (CDT)
- Subject: Re: std::ext STL (was: Re: design doc on alternative pointer support)
- Accept-language: en-US
- References: <g6ge3q$4hv$1@ger.gmane.org>
Hi,
> We would like some advice from your part as to know the
> possibility of copy and pasting all STL containers into some std::ext headers-only
> supporting allocator::pointer to be of smart_ptr<> type.
Frankly, I was still hoping we could experiment a bit with "alternative pointers" within the current ABI without adding completely new headers... Anyway, in case we (you) want to pursue this approach, want to propose a prototype along these lines, a specific framework is already available. The G++ front-end implements this C++0x feature:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2535.htm
which is already successfully used for the debug-mode containers and the parallel-mode algorithms.
Thanks,
Paolo.