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]

[v3] add <scoped_allocator>


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.

Attachment: allocs.txt
Description: Text document


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