Make std::scoped_allocator_adaptor's OUTERMOST recursive
authorJonathan Wakely <jwakely@redhat.com>
Thu, 6 Oct 2016 21:22:35 +0000 (22:22 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 6 Oct 2016 21:22:35 +0000 (22:22 +0100)
commit937ec71aba5b3c633bd5979d6346254e83f46d1c
tree9ab09f7a0d1d9503b161ec0df9c7a9604f664baf
parent342cfb3e736afcc7397b4199a4c96fb602f5d68b
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.

From-SVN: r240844
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]