[v3] add <scoped_allocator>

François Dumont francois.cppdevs@free.fr
Thu Jul 14 21:22:00 GMT 2011


I don't think you attached the right patch to this mail. The patch is 
the one regarding support of C++0x allocators in vector container, no 
trace of scoped_allocator file in it.

François

On 07/09/2011 03:46 PM, Jonathan Wakely wrote:
> This adds the new<scoped_allocator>  header. Currently only
> std::vector has the necessary support for C++0x allocators to be
> usable with std::scoped_allocator_adaptor.
>
>          * include/Makefile.am: Add new header.
>          * include/Makefile.in: Regenerate.
>          * include/std/scoped_allocator: New.
>          * doc/xml/manual/status_cxx200x.xml: Update.
>          * testsuite/20_util/scoped_allocator/1.cc: New.
>          * testsuite/20_util/scoped_allocator/propagation.cc: New.
>          * testsuite/20_util/scoped_allocator/requirements/typedefs.cc: New.
>          * testsuite/20_util/scoped_allocator/requirements/
>          explicit_instantiation.cc: New.
>
> Tested x86_64-linux, commited to trunk
>
> Remaining allocator work is to make the other containers and
> std::shared_ptr use the new C++0x model, and make std::function use an
> allocator.



More information about the Libstdc++ mailing list