This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] add <scoped_allocator>


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]