gcc/libstdc++-v3/testsuite/20_util
Ville Voutilainen 25a69162c9 Implement P0032R3, Homogeneous interface for variant, any and optional,
for the parts concerning any and optional.
	* include/std/any (_Storage()): Make constexpr and have it
	initialize _M_ptr.
	(any()): Make constexpr.
	(any(const any&)): Adjust.
	(any(any&&)): Likewise.
	(__any_constructible_t): New.
	(any(_ValueType&&)): Constrain.
	(any(in_place_type_t<_Tp>, _Args&&...)): New.
	(any(in_place_type_t<_Tp>, initializer_list<_Up>, _Args&&...)):
	Likewise.
	(~any()): Adjust.
	(operator=(const any&)): Likewise.
	(operator=(any&&)): Likewise.
	(operator=(_ValueType&&)): Constrain.
	(emplace(_Args&&...)): New.
	(emplace(initializer_list<_Up>, _Args&&...)): Likewise.
	(clear()): Remove.
	(reset()): New.
	(swap(any&)): Adjust.
	(empty()): Remove.
	(has_value()): New.
	(type()): Adjust.
	(_Manager_internal::_S_create(_Storage&, _Args&&...)): New.
	(_Manager_external::_S_create(_Storage&, _Args&&...)): Likewise.
	(make_any(_Args&&...)): Likewise.
	(make_any(initializer_list<_Up>, _Args&&...)): Likewise.
	* include/std/optional (in_place_t, in_place): Remove.
	(bad_optional_access): Add a comment referring to LEWG 72.
	(emplace(_Args&&...)): Constrain.
	(has_value()): New.
	(reset()): Likewise.
	(make_optional(_Args&&...)): Likewise.
	(make_optional(initializer_list<_Up>, _Args&&...)): Likewise.
	* include/std/utility (in_place_tag): New.
	(__in_place, __in_place_type, __in_place_index): Likewise.
	(in_place_t, in_place_type_t, in_place_index_t): Likewise.
	(in_place(__in_place*)): Likewise.
	(in_place(__in_place_type<_Tp>*)): Likewise.
	(in_place(__in_place_index<_Idx>*)): Likewise.
	* testsuite/20_util/any/assign/1.cc: Adjust.
	* testsuite/20_util/any/assign/emplace.cc: New.
	* testsuite/20_util/any/assign/self.cc: Adjust.
	* testsuite/20_util/any/cons/1.cc: Likewise.
	* testsuite/20_util/any/cons/in_place.cc: New.
	* testsuite/20_util/any/make_any.cc: Likewise.
	* testsuite/20_util/any/misc/any_cast_neg.cc: Adjust.
	* testsuite/20_util/any/misc/swap.cc: Likewise.
	* testsuite/20_util/any/modifiers/1.cc: Likewise.
	* testsuite/20_util/any/requirements.cc: New.
	* testsuite/20_util/in_place/requirements.cc: Likewise.
	* testsuite/20_util/optional/constexpr/in_place.cc: Adjust.
	* testsuite/20_util/optional/in_place.cc: Likewise.
	* testsuite/20_util/optional/make_optional.cc: Add tests for
	the new overloads of make_optional.

From-SVN: r238329
2016-07-14 12:10:05 +03:00
..
add_const Update copyright years. 2016-01-04 15:30:50 +01:00
add_cv Update copyright years. 2016-01-04 15:30:50 +01:00
add_lvalue_reference Update copyright years. 2016-01-04 15:30:50 +01:00
add_pointer Update copyright years. 2016-01-04 15:30:50 +01:00
add_rvalue_reference Update copyright years. 2016-01-04 15:30:50 +01:00
add_volatile Update copyright years. 2016-01-04 15:30:50 +01:00
addressof Update copyright years. 2016-01-04 15:30:50 +01:00
align Make use of extensions more explicit in libstdc++ tests 2016-04-18 16:44:25 +01:00
aligned_storage Update copyright years. 2016-01-04 15:30:50 +01:00
aligned_union Update copyright years. 2016-01-04 15:30:50 +01:00
alignment_of Update copyright years. 2016-01-04 15:30:50 +01:00
allocator Update copyright years. 2016-01-04 15:30:50 +01:00
allocator_traits Update copyright years. 2016-01-04 15:30:50 +01:00
any Implement P0032R3, Homogeneous interface for variant, any and optional, 2016-07-14 12:10:05 +03:00
auto_ptr Update copyright years. 2016-01-04 15:30:50 +01:00
bad_function_call Update copyright years. 2016-01-04 15:30:50 +01:00
bind Update copyright years. 2016-01-04 15:30:50 +01:00
bool_constant Update copyright years. 2016-01-04 15:30:50 +01:00
common_type/requirements Update copyright years. 2016-01-04 15:30:50 +01:00
conditional/requirements Update copyright years. 2016-01-04 15:30:50 +01:00
decay/requirements Update copyright years. 2016-01-04 15:30:50 +01:00
declval/requirements Update copyright years. 2016-01-04 15:30:50 +01:00
default_delete Update copyright years. 2016-01-04 15:30:50 +01:00
duration Update copyright years. 2016-01-04 15:30:50 +01:00
duration_cast Update copyright years. 2016-01-04 15:30:50 +01:00
enable_if/requirements Update copyright years. 2016-01-04 15:30:50 +01:00
enable_shared_from_this Update copyright years. 2016-01-04 15:30:50 +01:00
exchange Update copyright years. 2016-01-04 15:30:50 +01:00
extent Update copyright years. 2016-01-04 15:30:50 +01:00
forward Update copyright years. 2016-01-04 15:30:50 +01:00
function Fix construction of std::function from null pointer-to-member 2016-01-18 11:43:37 +00:00
function_objects Update copyright years. 2016-01-04 15:30:50 +01:00
has_trivial_copy_assign Update copyright years. 2016-01-04 15:30:50 +01:00
has_trivial_copy_constructor Update copyright years. 2016-01-04 15:30:50 +01:00
has_trivial_default_constructor Update copyright years. 2016-01-04 15:30:50 +01:00
has_virtual_destructor Update copyright years. 2016-01-04 15:30:50 +01:00
hash Update copyright years. 2016-01-04 15:30:50 +01:00
headers Update copyright years. 2016-01-04 15:30:50 +01:00
in_place Implement P0032R3, Homogeneous interface for variant, any and optional, 2016-07-14 12:10:05 +03:00
integer_sequence Update copyright years. 2016-01-04 15:30:50 +01:00
integral_constant Update copyright years. 2016-01-04 15:30:50 +01:00
is_abstract Update copyright years. 2016-01-04 15:30:50 +01:00
is_arithmetic Update copyright years. 2016-01-04 15:30:50 +01:00
is_array Update copyright years. 2016-01-04 15:30:50 +01:00
is_assignable Update copyright years. 2016-01-04 15:30:50 +01:00
is_base_of Update copyright years. 2016-01-04 15:30:50 +01:00
is_class Update copyright years. 2016-01-04 15:30:50 +01:00
is_compound Update copyright years. 2016-01-04 15:30:50 +01:00
is_const Update copyright years. 2016-01-04 15:30:50 +01:00
is_constructible Update copyright years. 2016-01-04 15:30:50 +01:00
is_convertible Update copyright years. 2016-01-04 15:30:50 +01:00
is_copy_assignable Update copyright years. 2016-01-04 15:30:50 +01:00
is_copy_constructible Update copyright years. 2016-01-04 15:30:50 +01:00
is_default_constructible Update copyright years. 2016-01-04 15:30:50 +01:00
is_destructible Update copyright years. 2016-01-04 15:30:50 +01:00
is_empty Update copyright years. 2016-01-04 15:30:50 +01:00
is_enum Update copyright years. 2016-01-04 15:30:50 +01:00
is_final Update copyright years. 2016-01-04 15:30:50 +01:00
is_floating_point Make use of extensions more explicit in libstdc++ tests 2016-04-18 16:44:25 +01:00
is_function Update copyright years. 2016-01-04 15:30:50 +01:00
is_fundamental Update copyright years. 2016-01-04 15:30:50 +01:00
is_implicitly_default_constructible Update copyright years. 2016-01-04 15:30:50 +01:00
is_integral Update copyright years. 2016-01-04 15:30:50 +01:00
is_literal_type Update copyright years. 2016-01-04 15:30:50 +01:00
is_lvalue_reference Update copyright years. 2016-01-04 15:30:50 +01:00
is_member_function_pointer Update copyright years. 2016-01-04 15:30:50 +01:00
is_member_object_pointer Update copyright years. 2016-01-04 15:30:50 +01:00
is_member_pointer Update copyright years. 2016-01-04 15:30:50 +01:00
is_move_assignable Update copyright years. 2016-01-04 15:30:50 +01:00
is_move_constructible Update copyright years. 2016-01-04 15:30:50 +01:00
is_nothrow_assignable Update copyright years. 2016-01-04 15:30:50 +01:00
is_nothrow_constructible Update copyright years. 2016-01-04 15:30:50 +01:00
is_nothrow_copy_assignable Update copyright years. 2016-01-04 15:30:50 +01:00
is_nothrow_copy_constructible Update copyright years. 2016-01-04 15:30:50 +01:00
is_nothrow_default_constructible Update copyright years. 2016-01-04 15:30:50 +01:00
is_nothrow_destructible Update copyright years. 2016-01-04 15:30:50 +01:00
is_nothrow_move_assignable Update copyright years. 2016-01-04 15:30:50 +01:00
is_nothrow_move_constructible Update copyright years. 2016-01-04 15:30:50 +01:00
is_nothrow_swappable Provide swappable traits (p0185r1) 2016-06-16 16:07:19 +01:00
is_nothrow_swappable_with Provide swappable traits (p0185r1) 2016-06-16 16:07:19 +01:00
is_null_pointer Update copyright years. 2016-01-04 15:30:50 +01:00
is_object Update copyright years. 2016-01-04 15:30:50 +01:00
is_pod Update copyright years. 2016-01-04 15:30:50 +01:00
is_pointer Update copyright years. 2016-01-04 15:30:50 +01:00
is_polymorphic Update copyright years. 2016-01-04 15:30:50 +01:00
is_reference Update copyright years. 2016-01-04 15:30:50 +01:00
is_rvalue_reference Update copyright years. 2016-01-04 15:30:50 +01:00
is_same Update copyright years. 2016-01-04 15:30:50 +01:00
is_scalar Update copyright years. 2016-01-04 15:30:50 +01:00
is_signed Update copyright years. 2016-01-04 15:30:50 +01:00
is_standard_layout Update copyright years. 2016-01-04 15:30:50 +01:00
is_swappable Provide swappable traits (p0185r1) 2016-06-16 16:07:19 +01:00
is_swappable_with Provide swappable traits (p0185r1) 2016-06-16 16:07:19 +01:00
is_trivial Update copyright years. 2016-01-04 15:30:50 +01:00
is_trivially_assignable Update copyright years. 2016-01-04 15:30:50 +01:00
is_trivially_constructible Update copyright years. 2016-01-04 15:30:50 +01:00
is_trivially_copy_assignable Update copyright years. 2016-01-04 15:30:50 +01:00
is_trivially_copy_constructible Update copyright years. 2016-01-04 15:30:50 +01:00
is_trivially_copyable Update copyright years. 2016-01-04 15:30:50 +01:00
is_trivially_default_constructible Update copyright years. 2016-01-04 15:30:50 +01:00
is_trivially_destructible Update copyright years. 2016-01-04 15:30:50 +01:00
is_trivially_move_assignable Update copyright years. 2016-01-04 15:30:50 +01:00
is_trivially_move_constructible Update copyright years. 2016-01-04 15:30:50 +01:00
is_union Update copyright years. 2016-01-04 15:30:50 +01:00
is_unsigned Update copyright years. 2016-01-04 15:30:50 +01:00
is_void Update copyright years. 2016-01-04 15:30:50 +01:00
is_volatile Update copyright years. 2016-01-04 15:30:50 +01:00
logical_traits Update copyright years. 2016-01-04 15:30:50 +01:00
make_signed/requirements Update copyright years. 2016-01-04 15:30:50 +01:00
make_unsigned/requirements Update copyright years. 2016-01-04 15:30:50 +01:00
move Update copyright years. 2016-01-04 15:30:50 +01:00
move_if_noexcept Update copyright years. 2016-01-04 15:30:50 +01:00
optional Implement P0032R3, Homogeneous interface for variant, any and optional, 2016-07-14 12:10:05 +03:00
owner_less Update copyright years. 2016-01-04 15:30:50 +01:00
pair Add tests and docs for LWG 2212 support 2016-07-12 15:00:26 +01:00
pointer_safety Update copyright years. 2016-01-04 15:30:50 +01:00
pointer_traits Update copyright years. 2016-01-04 15:30:50 +01:00
rank Update copyright years. 2016-01-04 15:30:50 +01:00
ratio Update copyright years. 2016-01-04 15:30:50 +01:00
raw_storage_iterator Update copyright years. 2016-01-04 15:30:50 +01:00
reference_wrapper Update copyright years. 2016-01-04 15:30:50 +01:00
remove_all_extents Update copyright years. 2016-01-04 15:30:50 +01:00
remove_const Update copyright years. 2016-01-04 15:30:50 +01:00
remove_cv Update copyright years. 2016-01-04 15:30:50 +01:00
remove_extent Update copyright years. 2016-01-04 15:30:50 +01:00
remove_pointer Update copyright years. 2016-01-04 15:30:50 +01:00
remove_reference Update copyright years. 2016-01-04 15:30:50 +01:00
remove_volatile Update copyright years. 2016-01-04 15:30:50 +01:00
result_of Update copyright years. 2016-01-04 15:30:50 +01:00
scoped_allocator Revert empty class parameter passing ABI changes. 2016-04-14 12:23:06 -04:00
shared_ptr Revert empty class parameter passing ABI changes. 2016-04-14 12:23:06 -04:00
specialized_algorithms Make use of extensions more explicit in libstdc++ tests 2016-04-18 16:44:25 +01:00
steady_clock Update copyright years. 2016-01-04 15:30:50 +01:00
system_clock Update copyright years. 2016-01-04 15:30:50 +01:00
time_point Update copyright years. 2016-01-04 15:30:50 +01:00
time_point_cast Update copyright years. 2016-01-04 15:30:50 +01:00
tuple Support allocators in tuples of zero size. 2016-06-06 19:28:59 +03:00
typeindex Update copyright years. 2016-01-04 15:30:50 +01:00
underlying_type/requirements Update copyright years. 2016-01-04 15:30:50 +01:00
unique_ptr Update copyright years. 2016-01-04 15:30:50 +01:00
uses_allocator Revert empty class parameter passing ABI changes. 2016-04-14 12:23:06 -04:00
void_t Update copyright years. 2016-01-04 15:30:50 +01:00
weak_ptr Update copyright years. 2016-01-04 15:30:50 +01:00
rel_ops.cc Update copyright years. 2016-01-04 15:30:50 +01:00
temporary_buffer.cc Update copyright years. 2016-01-04 15:30:50 +01:00