]> git.ipfire.org Git - thirdparty/gcc.git/commit
Make std::scoped_allocator_adaptor's OUTERMOST recursive
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Oct 2016 21:22:35 +0000 (21:22 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 6 Oct 2016 21:22:35 +0000 (21:22 +0000)
commit47a437987fd567a000bfd5631ca3e71ea683b9a3
tree9ab09f7a0d1d9503b161ec0df9c7a9604f664baf
parentadeca879a3ab948fef2c1aa3741ae49cceadae17
Make std::scoped_allocator_adaptor's OUTERMOST recursive

* doc/xml/manual/status_cxx2011.xml: Update status.
* include/std/scoped_allocator (__outer_allocator_t, __outermost_type):
New helpers for recursive OUTERMOST.
(__outermost): Use __outermost_type::_S_outermost.
(__do_outermost, scoped_allocator_adaptor::__outermost_type): Remove.
(scoped_allocator_adaptor::__outermost_alloc_traits): Use new
__outermost_type helper.
* testsuite/20_util/scoped_allocator/outermost.cc: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@240844 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/doc/xml/manual/status_cxx2011.xml
libstdc++-v3/include/std/scoped_allocator
libstdc++-v3/testsuite/20_util/scoped_allocator/3.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/scoped_allocator/outermost.cc [new file with mode: 0644]