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 std_c++0x_neg.cc: Add -std=c++98. 2015-05-09 00:50:30 -04:00
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 re PR libstdc++/67374 (std::cbegin can't call valarray range access functions) 2015-08-27 20:05:19 +01:00
27_io PR libstdc++/67583 Fix invalid sputn calls in tests 2015-09-29 14:31:51 +01:00
28_regex re PR libstdc++/67362 (std::regex("((.)", std::regex_constants::basic) throws) 2015-08-28 02:35:21 +00:00
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 Update copyright years. 2015-01-05 13:33:28 +01:00
backward Update copyright years. 2015-01-05 13:33:28 +01:00
config Update copyright years. 2015-01-05 13:33:28 +01:00
data
decimal Update copyright years. 2015-01-05 13:33:28 +01:00
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 Update copyright years. 2015-01-05 13:33:28 +01:00
libstdc++-dg Update copyright years. 2015-01-05 13:33:28 +01:00
libstdc++-prettyprinters Update copyright years. 2015-01-05 13:33:28 +01:00
libstdc++-xmethods xmethods.py (UniquePtrMethodsMatcher): Add operator-> support. 2015-05-26 23:06:55 +00:00
performance Update copyright years. 2015-01-05 13:33:28 +01:00
tr1 libstdc++: Run tests on RTEMS 2015-09-03 05:45:33 +00:00
tr2 Update copyright years. 2015-01-05 13:33:28 +01:00
util testsuite_fs.h (nonexistent_path): Use less generic name for paths. 2015-10-02 20:38:27 +01:00
Makefile.am Update copyright years. 2015-01-05 13:33:28 +01:00
Makefile.in libstdc++-v3/fragment.am (AM_CPPFLAGS): Add CPPFLAGS 2015-07-24 07:05:19 +00:00