std::ext STL (was: Re: design doc on alternative pointer support)
Paolo Carlini
paolo.carlini@oracle.com
Tue Jul 29 19:38:00 GMT 2008
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.
More information about the Libstdc++
mailing list