gcc/libstdc++-v3/testsuite
Ville Voutilainen f763219373 Make the default constructors of tuple and pair conditionally explicit.
2015-11-03  Ville Voutilainen  <ville.voutilainen@gmail.com>

	Make the default constructors of tuple and pair conditionally explicit.
	* include/std/type_traits (is_unsigned, __is_array_unknown_bounds,
	__is_default_constructible_atom, __is_default_constructible_safe,
	__is_direct_constructible_new_safe, __is_direct_constructible_ref_cast,
	__is_nt_default_constructible_impl, is_nothrow_default_constructible,
	is_nothrow_constructible, is_nothrow_assignable,
	is_trivially_constructible, is_trivially_copy_constructible,
	is_trivially_move_constructible, is_trivially_assignable,
	is_trivially_copy_assignable, is_trivially_move_assignable,
	is_trivially_destructible): Simplify.
	* include/std/type_traits (
	__do_is_implicitly_default_constructible_impl,
	__is_implicitly_default_constructible_impl,
	__is_implicitly_default_constructible_safe,
	__is_implicitly_default_constructible): New.
	* include/bits/stl_pair.h (pair::pair()): Use it.
	* include/std/tuple (tuple<_T1, _T2>::tuple): Use it.
	* include/std/tuple (_ImplicitlyDefaultConstructibleTuple): New.
	* include/std/tuple (tuple<_Types...>::tuple()): Use it.
	* testsuite/20_util/declval/requirements/1_neg.cc: Adjust.
	* testsuite/20_util/is_implicitly_default_constructible/requirements/explicit_instantiation.cc: New.
	* testsuite/20_util/is_implicitly_default_constructible/requirements/typedefs.cc: Likewise.
	* testsuite/20_util/is_implicitly_default_constructible/value.cc: Likewise.
	* testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust.
	* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Likewise.
	* testsuite/20_util/pair/cons/explicit_construct.cc: Likewise.
	* testsuite/20_util/tuple/cons/explicit_construct.cc: Likewise.

From-SVN: r229699
2015-11-03 10:41:40 +02:00
..
17_intro Rationalise PCH headers and 17_intro/headers tests. 2015-09-11 13:25:43 +01:00
18_support libstdc++: Run tests on RTEMS 2015-09-03 05:45:33 +00:00
19_diagnostics
20_util Make the default constructors of tuple and pair conditionally explicit. 2015-11-03 10:41:40 +02:00
21_strings Fix testsuite failures with --disable-wchar_t 2015-10-03 00:43:17 +01:00
22_locale Fix testsuite failures with --disable-wchar_t 2015-10-03 00:43:17 +01:00
23_containers Leave moved-from std::deque in a valid state 2015-09-24 16:46:24 +01:00
24_iterators Add concept checks to std::next and std::prev. 2015-09-03 15:35:43 +01:00
25_algorithms Shrink std::random_shuffle test to pass on simulators 2015-10-16 12:12:15 +01:00
26_numerics
27_io PR libstdc++/67583 Fix invalid sputn calls in tests 2015-09-29 14:31:51 +01:00
28_regex
29_atomics Handle alignment in __atomic_is_lock_free 2015-09-17 16:46:04 +01:00
30_threads Return deferred future if thread cannot be run 2015-10-24 22:36:50 +01:00
abi
backward
config
data
decimal
experimental Fix testsuite failures with --disable-wchar_t 2015-10-03 00:43:17 +01:00
ext libstdc++: Run tests on RTEMS 2015-09-03 05:45:33 +00:00
lib mark libstdc++ tests unsupported if they fail with "relocation truncated" 2015-10-15 15:15:37 +00:00
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters
libstdc++-xmethods
performance
tr1 libstdc++: Run tests on RTEMS 2015-09-03 05:45:33 +00:00
tr2
util testsuite_fs.h (nonexistent_path): Use less generic name for paths. 2015-10-02 20:38:27 +01:00
Makefile.am
Makefile.in