RFC: __gnu_cxx::__alloc_traits extension
Jonathan Wakely
jwakely.gcc@gmail.com
Wed Jun 22 19:56:00 GMT 2011
On 11 June 2011 16:41, Jonathan Wakely wrote:
>
> 2011-06-11 Jonathan Wakely <jwakely.gcc@gmail.com>
>
> * include/Makefile.am: Add alloc_traits.h headers.
> * include/Makefile.in: Regenerate.
> * include/std/memory: Include uses_allocator.h explicitly.
> * include/bits/allocator.h (allocator_traits): Move to ...
> * include/bits/alloc_traits.h: New header.
> * include/ext/alloc_traits.h (__alloc_traits): Extension to provide
> a common allocator interface for C++98 and C++0x.
> * include/bits/stl_construct.h: Use __alloc_traits.
> * include/bits/stl_uninitialized.h: Likewise.
>
Re-tested on x86_64-linux and committed as attached (the same as the
patch I sent 11 days ago but with one additional doxygen comment in
the new ext/alloc_traits.h header)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: application/octet-stream
Size: 39102 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20110622/db1e2b00/attachment.obj>
More information about the Libstdc++
mailing list