gcc/libstdc++-v3/testsuite/20_util/specialized_algorithms
Ville Voutilainen 377f30c00f re PR libstdc++/77619 (uninitialized_meow_construct and friends not exception safe)
PR libstdc++/77619
	* include/bits/stl_construct.h: (_Construct_novalue): New.
	(_Destroy_n_aux, _Destroy_n): New.
	* include/bits/stl_uninitialized.h: (type_traits):
	New include in C++11 mode.
	(__uninitialized_default_novalue_1): New.
	(__uninitialized_default_novalue_n_1): Likewise.
	(__uninitialized_default_novalue): Likewise.
	(__uninitialized_default_novalue_n): Likewise.
	(__uninitialized_copy_n_pair): Likewise.
	(uninitialized_default_construct):
	Use __uninitialized_default_novalue.
	(uninitialized_default_construct_n):
	Use __uninitialized_default_novalue_n.
	(uninitialized_value_construct): Use __uninitialized_default.
	(uninitialized_value_construct_n): Use __uninitialized_default_n.
	(uninitialized_move): Use uninitialized_copy.
	(uninitialized_move_n): Use __uninitialized_copy_n_pair.
	(destroy_at): Use _Destroy.
	(destroy): Likewise.
	(destroy_n): Likewise.
	* testsuite/20_util/specialized_algorithms/
	memory_management_tools/1.cc: Add tests for exceptions,
	add tests for trivial cases for construct and move.

From-SVN: r240264
2016-09-20 18:15:36 +03:00
..
memory_management_tools re PR libstdc++/77619 (uninitialized_meow_construct and friends not exception safe) 2016-09-20 18:15:36 +03:00
uninitialized_copy Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
uninitialized_copy_n Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
uninitialized_fill Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00
uninitialized_fill_n Use effective-target instead of -std options 2016-08-26 12:41:37 +01:00