r261716 - in /trunk/libstdc++-v3: ChangeLog inc...

redi@gcc.gnu.org redi@gcc.gnu.org
Mon Jun 18 20:17:00 GMT 2018


Author: redi
Date: Mon Jun 18 20:17:44 2018
New Revision: 261716

URL: https://gcc.gnu.org/viewcvs?rev=261716&root=gcc&view=rev
Log:
LWG 2975 ensure construct(pair<T,U>*, ...) used to construct pairs

	* include/std/scoped_allocator (__not_pair): Define SFINAE helper.
	(construct(_Tp*, _Args&&...)): Remove from overload set when _Tp is
	a specialization of std::pair.
	* testsuite/20_util/scoped_allocator/construct_pair.cc: Ensure
	pair elements are constructed correctly.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/scoped_allocator
    trunk/libstdc++-v3/testsuite/20_util/scoped_allocator/construct_pair.cc



More information about the Libstdc++-cvs mailing list