gcc/libstdc++-v3/testsuite/20_util
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
..
add_const Update copyright years. 2015-01-05 13:33:28 +01:00
add_cv Update copyright years. 2015-01-05 13:33:28 +01:00
add_lvalue_reference Update copyright years. 2015-01-05 13:33:28 +01:00
add_pointer Update copyright years. 2015-01-05 13:33:28 +01:00
add_rvalue_reference Update copyright years. 2015-01-05 13:33:28 +01:00
add_volatile Update copyright years. 2015-01-05 13:33:28 +01:00
addressof Update copyright years. 2015-01-05 13:33:28 +01:00
align Update copyright years. 2015-01-05 13:33:28 +01:00
aligned_storage Update copyright years. 2015-01-05 13:33:28 +01:00
aligned_union Update copyright years. 2015-01-05 13:33:28 +01:00
alignment_of Update copyright years. 2015-01-05 13:33:28 +01:00
allocator Update copyright years. 2015-01-05 13:33:28 +01:00
allocator_traits Implement N4258 (Cleaning-up noexcept in the Library rev 3) 2015-06-26 21:10:24 +01:00
auto_ptr std_c++0x_neg.cc: Add -std=c++98. 2015-05-09 00:50:30 -04:00
bad_function_call Update copyright years. 2015-01-05 13:33:28 +01:00
bind Implement C++17 std::invoke and LWG DR 2219 2015-10-25 01:00:54 +01:00
bool_constant status_cxx2017.xml: Update status tables. 2015-06-05 18:17:53 +01:00
common_type/requirements Update copyright years. 2015-01-05 13:33:28 +01:00
conditional/requirements Update copyright years. 2015-01-05 13:33:28 +01:00
decay/requirements Update copyright years. 2015-01-05 13:33:28 +01:00
declval/requirements Make the default constructors of tuple and pair conditionally explicit. 2015-11-03 10:41:40 +02:00
default_delete Implement N4089 Safe conversions in unique_ptr<T[]> (LWG 2118) and N4366 LWG 2228... 2015-08-08 14:07:34 +03:00
duration re PR libstdc++/65499 (Missing "using namespace literals::chrono_literals" in std::chrono) 2015-03-27 12:45:10 +00:00
duration_cast Update copyright years. 2015-01-05 13:33:28 +01:00
enable_if/requirements Update copyright years. 2015-01-05 13:33:28 +01:00
enable_shared_from_this Only set std::enable_shared_from_this member once. 2015-08-26 22:27:00 +01:00
exchange Update copyright years. 2015-01-05 13:33:28 +01:00
extent Update copyright years. 2015-01-05 13:33:28 +01:00
forward Update copyright years. 2015-01-05 13:33:28 +01:00
function re PR libstdc++/65760 (invalid use of incomplete type with std::is_convertible<C, C>) 2015-04-29 17:07:47 +01:00
function_objects Implement C++17 std::invoke and LWG DR 2219 2015-10-25 01:00:54 +01:00
has_trivial_copy_assign re PR libstdc++/60132 (C++11: lack of is_trivially_copy_constructible) 2015-01-08 16:24:55 +00:00
has_trivial_copy_constructor re PR libstdc++/60132 (C++11: lack of is_trivially_copy_constructible) 2015-01-08 16:24:55 +00:00
has_trivial_default_constructor re PR libstdc++/60132 (C++11: lack of is_trivially_copy_constructible) 2015-01-08 16:24:55 +00:00
has_virtual_destructor Update copyright years. 2015-01-05 13:33:28 +01:00
hash re PR libstdc++/60970 (Support std::hash with enum types (LWG 2148)) 2015-07-29 13:41:23 +01:00
headers synopsis.cc: Add _GLIBCXX14_CONSTEXPR. 2015-05-09 20:46:12 -04:00
integer_sequence Update copyright years. 2015-01-05 13:33:28 +01:00
integral_constant Update copyright years. 2015-01-05 13:33:28 +01:00
is_abstract Update copyright years. 2015-01-05 13:33:28 +01:00
is_arithmetic Update copyright years. 2015-01-05 13:33:28 +01:00
is_array Update copyright years. 2015-01-05 13:33:28 +01:00
is_assignable Update copyright years. 2015-01-05 13:33:28 +01:00
is_base_of Update copyright years. 2015-01-05 13:33:28 +01:00
is_class Update copyright years. 2015-01-05 13:33:28 +01:00
is_compound Update copyright years. 2015-01-05 13:33:28 +01:00
is_const Update copyright years. 2015-01-05 13:33:28 +01:00
is_constructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_convertible Update copyright years. 2015-01-05 13:33:28 +01:00
is_copy_assignable Update copyright years. 2015-01-05 13:33:28 +01:00
is_copy_constructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_default_constructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_destructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_empty Update copyright years. 2015-01-05 13:33:28 +01:00
is_enum Update copyright years. 2015-01-05 13:33:28 +01:00
is_final Update copyright years. 2015-01-05 13:33:28 +01:00
is_floating_point Update copyright years. 2015-01-05 13:33:28 +01:00
is_function Update copyright years. 2015-01-05 13:33:28 +01:00
is_fundamental Update copyright years. 2015-01-05 13:33:28 +01:00
is_implicitly_default_constructible Make the default constructors of tuple and pair conditionally explicit. 2015-11-03 10:41:40 +02:00
is_integral Update copyright years. 2015-01-05 13:33:28 +01:00
is_literal_type Update copyright years. 2015-01-05 13:33:28 +01:00
is_lvalue_reference Update copyright years. 2015-01-05 13:33:28 +01:00
is_member_function_pointer Update copyright years. 2015-01-05 13:33:28 +01:00
is_member_object_pointer Update copyright years. 2015-01-05 13:33:28 +01:00
is_member_pointer Update copyright years. 2015-01-05 13:33:28 +01:00
is_move_assignable Update copyright years. 2015-01-05 13:33:28 +01:00
is_move_constructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_nothrow_assignable Update copyright years. 2015-01-05 13:33:28 +01:00
is_nothrow_constructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_nothrow_copy_assignable Update copyright years. 2015-01-05 13:33:28 +01:00
is_nothrow_copy_constructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_nothrow_default_constructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_nothrow_destructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_nothrow_move_assignable Update copyright years. 2015-01-05 13:33:28 +01:00
is_nothrow_move_constructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_nothrow_swappable Add __is_nothrow_swappable and take it into use. 2015-06-05 15:44:26 +01:00
is_null_pointer Update copyright years. 2015-01-05 13:33:28 +01:00
is_object Update copyright years. 2015-01-05 13:33:28 +01:00
is_pod Update copyright years. 2015-01-05 13:33:28 +01:00
is_pointer Update copyright years. 2015-01-05 13:33:28 +01:00
is_polymorphic Update copyright years. 2015-01-05 13:33:28 +01:00
is_reference Update copyright years. 2015-01-05 13:33:28 +01:00
is_rvalue_reference Update copyright years. 2015-01-05 13:33:28 +01:00
is_same Update copyright years. 2015-01-05 13:33:28 +01:00
is_scalar Update copyright years. 2015-01-05 13:33:28 +01:00
is_signed Update copyright years. 2015-01-05 13:33:28 +01:00
is_standard_layout Update copyright years. 2015-01-05 13:33:28 +01:00
is_trivial Update copyright years. 2015-01-05 13:33:28 +01:00
is_trivially_assignable Update copyright years. 2015-01-05 13:33:28 +01:00
is_trivially_constructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_trivially_copy_assignable Update copyright years. 2015-01-05 13:33:28 +01:00
is_trivially_copy_constructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_trivially_copyable Update copyright years. 2015-01-05 13:33:28 +01:00
is_trivially_default_constructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_trivially_destructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_trivially_move_assignable Update copyright years. 2015-01-05 13:33:28 +01:00
is_trivially_move_constructible Update copyright years. 2015-01-05 13:33:28 +01:00
is_union Update copyright years. 2015-01-05 13:33:28 +01:00
is_unsigned Update copyright years. 2015-01-05 13:33:28 +01:00
is_void Update copyright years. 2015-01-05 13:33:28 +01:00
is_volatile Update copyright years. 2015-01-05 13:33:28 +01:00
make_signed/requirements Make the default constructors of tuple and pair conditionally explicit. 2015-11-03 10:41:40 +02:00
make_unsigned/requirements Make the default constructors of tuple and pair conditionally explicit. 2015-11-03 10:41:40 +02:00
move Update copyright years. 2015-01-05 13:33:28 +01:00
move_if_noexcept Update copyright years. 2015-01-05 13:33:28 +01:00
owner_less Update copyright years. 2015-01-05 13:33:28 +01:00
pair Make the default constructors of tuple and pair conditionally explicit. 2015-11-03 10:41:40 +02:00
pointer_safety memory (pointer_safety, [...]): Define. 2015-05-01 12:02:18 +01:00
pointer_traits ptr_traits.h (__ptrtr_elt_type, [...]): Remove 2015-07-01 13:24:03 +01:00
rank Update copyright years. 2015-01-05 13:33:28 +01:00
ratio Update copyright years. 2015-01-05 13:33:28 +01:00
raw_storage_iterator stl_raw_storage_iter.h (raw_storage_iterator::base()): Define (LWG 2454). 2015-05-13 14:54:46 +01:00
reference_wrapper Update copyright years. 2015-01-05 13:33:28 +01:00
remove_all_extents Update copyright years. 2015-01-05 13:33:28 +01:00
remove_const Update copyright years. 2015-01-05 13:33:28 +01:00
remove_cv Update copyright years. 2015-01-05 13:33:28 +01:00
remove_extent Update copyright years. 2015-01-05 13:33:28 +01:00
remove_pointer Update copyright years. 2015-01-05 13:33:28 +01:00
remove_reference Update copyright years. 2015-01-05 13:33:28 +01:00
remove_volatile Update copyright years. 2015-01-05 13:33:28 +01:00
result_of Update copyright years. 2015-01-05 13:33:28 +01:00
scoped_allocator alloc_traits.h (__alloctr_rebind): Remove. 2015-07-01 13:24:09 +01:00
shared_ptr Relax Debug Mode assertions on operator-> for smart pointers. 2015-09-07 18:17:23 +01:00
specialized_algorithms re PR libstdc++/66078 (20_util/specialized_algorithms/uninitialized_copy/808590.cc fails with -std=c++11) 2015-05-20 18:11:03 +01:00
steady_clock Update copyright years. 2015-01-05 13:33:28 +01:00
system_clock Update copyright years. 2015-01-05 13:33:28 +01:00
time_point Update copyright years. 2015-01-05 13:33:28 +01:00
time_point_cast Update copyright years. 2015-01-05 13:33:28 +01:00
tuple Make the default constructors of tuple and pair conditionally explicit. 2015-11-03 10:41:40 +02:00
typeindex Update copyright years. 2015-01-05 13:33:28 +01:00
underlying_type/requirements Update copyright years. 2015-01-05 13:33:28 +01:00
unique_ptr Implement N4089 Safe conversions in unique_ptr<T[]> (LWG 2118) and N4366 LWG 2228... 2015-08-08 14:07:34 +03:00
uses_allocator Update copyright years. 2015-01-05 13:33:28 +01:00
void_t type_traits (void_t): Add. 2015-04-28 13:07:34 +01:00
weak_ptr constexpr.cc: Remove redundant -save-temps option. 2015-08-05 21:57:03 +01:00
rel_ops.cc Update copyright years. 2015-01-05 13:33:28 +01:00
temporary_buffer.cc Update copyright years. 2015-01-05 13:33:28 +01:00