stl_vector.h (vector::_Alloc_traits): Make private.
authorJonathan Wakely <jwakely.gcc@gmail.com>
Wed, 9 Nov 2011 01:26:04 +0000 (01:26 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 9 Nov 2011 01:26:04 +0000 (01:26 +0000)
commit425006751bbedc2928d0bddac0de2e5953075ac9
tree6d0324a396a0e77c139accb20f546a28c978cc4d
parentffe1468659b160f34f296a3879a0894e45e644ba
stl_vector.h (vector::_Alloc_traits): Make private.

* include/bits/stl_vector.h (vector::_Alloc_traits): Make private.
* include/debug/vector: Add allocator-extended constructors, ensure
move assignment and swap have same allocator propagation semantics
and exceptions specification as base class.
* include/profile/vector: Likewise.
(vector::push_back(_Tp&&)): Forward argument as rvalue.
* testsuite/23_containers/vector/debug/alloc_prop.cc: New.
* doc/xml/manual/status_cxx2011.xml: Clarify status of container
requirements with respect to allocators.
(status.iso.200x): Add anchor for old ID to preserve existing links.

From-SVN: r181189
libstdc++-v3/ChangeLog
libstdc++-v3/doc/xml/manual/status_cxx2011.xml
libstdc++-v3/include/bits/stl_vector.h
libstdc++-v3/include/debug/vector
libstdc++-v3/include/profile/vector
libstdc++-v3/testsuite/23_containers/vector/debug/alloc_prop.cc [new file with mode: 0644]