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

redi@gcc.gnu.org redi@gcc.gnu.org
Fri Mar 1 13:50:00 GMT 2019


Author: redi
Date: Fri Mar  1 13:50:36 2019
New Revision: 269311

URL: https://gcc.gnu.org/viewcvs?rev=269311&root=gcc&view=rev
Log:
C++2a Utility functions to implement uses-allocator construction (P0591R4)

	* include/std/memory (uses_allocator_construction_args): New set of
	overloaded functions.
	(make_obj_using_allocator, uninitialized_construct_using_allocator):
	New functions.
	* include/std/memory_resource (polymorphic_allocator::construct)
	[__cplusplus > 201703l]: Replace all overloads with a single function
	using uses_allocator_construction_args.
	* testsuite/20_util/polymorphic_allocator/construct_c++2a.cc: New
	test.
	* testsuite/20_util/uses_allocator/make_obj.cc: New test.

Added:
    trunk/libstdc++-v3/testsuite/20_util/polymorphic_allocator/construct_c++2a.cc
    trunk/libstdc++-v3/testsuite/20_util/uses_allocator/make_obj.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/memory
    trunk/libstdc++-v3/include/std/memory_resource



More information about the Gcc-cvs mailing list