scoped_allocator (__outermost_alloc_traits): Define.
authorJonathan Wakely <jwakely.gcc@gmail.com>
Fri, 19 Oct 2012 16:16:11 +0000 (16:16 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 19 Oct 2012 16:16:11 +0000 (17:16 +0100)
commit644b2e4c0dc69212ca11ed5d58be5a82b1b7dcc8
treebdbe8239924cc85bfa976c3d53861f0652ff8a62
parente665269adab31f1d30a1e0295bd6f4204940b9b3
scoped_allocator (__outermost_alloc_traits): Define.

* include/std/scoped_allocator (__outermost_alloc_traits): Define.
(scoped_allocator_adaptor::destroy): Use it.
(scoped_allocator_adaptor::construct): Likewise. Overload for
piecewise construction of std::pair objects.
* testsuite/20_util/scoped_allocator/2.cc: New.
* doc/xml/manual/status_cxx2011.xml: Update.

From-SVN: r192613
libstdc++-v3/ChangeLog
libstdc++-v3/doc/xml/manual/status_cxx2011.xml
libstdc++-v3/include/std/scoped_allocator
libstdc++-v3/testsuite/20_util/scoped_allocator/2.cc [new file with mode: 0644]