r251590 - in /branches/gcc-5-branch/libstdc++-v...

redi@gcc.gnu.org redi@gcc.gnu.org
Fri Sep 1 12:15:00 GMT 2017


Author: redi
Date: Fri Sep  1 12:15:44 2017
New Revision: 251590

URL: https://gcc.gnu.org/viewcvs?rev=251590&root=gcc&view=rev
Log:
Make std::scoped_allocator_adaptor's OUTERMOST recursive

Backport from mainline
2016-10-06  Jonathan Wakely  <jwakely@redhat.com>

	* doc/xml/manual/status_cxx2011.xml: Update status.
	* doc/html/manual/status.html: Regenerate.
	* 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.
	(scoped_allocator_adaptor::_Constructible): New alias template.
	(scoped_allocator_adaptor::scoped_allocator_adaptor<_Outer2>):
	Constrain template constructors.
	* testsuite/20_util/scoped_allocator/3.cc: New test.
	* testsuite/20_util/scoped_allocator/outermost.cc: New test.

Added:
    branches/gcc-5-branch/libstdc++-v3/testsuite/20_util/scoped_allocator/3.cc
    branches/gcc-5-branch/libstdc++-v3/testsuite/20_util/scoped_allocator/outermost.cc
Modified:
    branches/gcc-5-branch/libstdc++-v3/ChangeLog
    branches/gcc-5-branch/libstdc++-v3/doc/html/manual/status.html
    branches/gcc-5-branch/libstdc++-v3/doc/xml/manual/status_cxx2011.xml
    branches/gcc-5-branch/libstdc++-v3/include/std/scoped_allocator



More information about the Libstdc++-cvs mailing list