gcc/libstdc++-v3/testsuite/20_util
Tim Shen 197c757cb1 Implement <variant>
* include/Makefile.am: Add new file std/variant.
	* include/Makefile.in: Generated from Makefile.am.
	* include/bits/enable_special_members.h: Add a tag type to allow
	the construction in non-default constructor.
	* include/bits/uses_allocator.h: Add convenience traits to
	detect constructibility.
	* include/std/variant: Implement <variant>.
	* testsuite/20_util/variant/compile.cc: Compile-time tests.
	* testsuite/20_util/variant/run.cc: Runtime tests.

From-SVN: r239590
2016-08-18 20:31:26 +00: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 Remove memory leaks in libstdc++ testsuite 2016-07-21 20:38:32 +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 LWG 2744 and LWG 2754. 2016-08-15 18:06:09 +03:00
as_const Define std::as_const 2016-08-03 19:11:23 +01: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 Adjust DG directives in libstdc++ XFAIL test 2016-08-17 14:39:10 +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 Change std::conditional test to compile-only 2016-07-31 20:37:14 +01:00
decay/requirements Update copyright years. 2016-01-04 15:30:50 +01:00
declval/requirements Remove deprecated has_trivial_xxx traits 2016-08-03 16:18:30 +01:00
default_delete Update copyright years. 2016-01-04 15:30:50 +01:00
duration Implement C++17 rounding functions for std::chrono (P0092R1) 2016-08-05 14:52:59 +01:00
duration_cast Implement C++17 rounding functions for std::chrono (P0092R1) 2016-08-05 14:52:59 +01:00
enable_if/requirements Update copyright years. 2016-01-04 15:30:50 +01:00
enable_shared_from_this Define std::enable_shared_from_this::weak_from_this 2016-08-04 13:33:10 +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 * testsuite/20_util/forward/1_neg.cc: Move dg-error to right line. 2016-07-27 18:32:45 +01:00
function Use ::new to avoid finding overloaded operator new 2016-08-06 11:21:07 +01:00
function_objects Simplify std::__invoke_impl definitions 2016-08-04 12:09:29 +01:00
has_virtual_destructor Update copyright years. 2016-01-04 15:30:50 +01:00
hash Use effective target instead of -std in dg-options 2016-08-17 20:43:13 +01:00
headers Remove deprecated has_trivial_xxx traits 2016-08-03 16:18:30 +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_callable Define std::is_callable and std::is_nothrow_callable 2016-08-04 19:02:56 +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 Check __STRICT_ANSI__ for 128-bit arithmetic types 2016-07-31 14:06:38 +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 Check __STRICT_ANSI__ for 128-bit arithmetic types 2016-07-31 14:06:38 +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_callable Define std::is_callable and std::is_nothrow_callable 2016-08-04 19:02:56 +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 Check __STRICT_ANSI__ for 128-bit arithmetic types 2016-07-31 14:06:38 +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 Check __STRICT_ANSI__ for 128-bit arithmetic types 2016-07-31 14:06:38 +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 Remove deprecated has_trivial_xxx traits 2016-08-03 16:18:30 +01:00
make_unsigned/requirements Remove deprecated has_trivial_xxx traits 2016-08-03 16:18:30 +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 Define std::owner_less<void> specialization (P0074R0) 2016-08-03 19:11:18 +01:00
pair Remove deprecated has_trivial_xxx traits 2016-08-03 16:18:30 +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 re PR testsuite/72840 (PASS->NA: 20_util/ratio/cons/cons_overflow_neg.cc) 2016-08-15 09:14:15 +00:00
raw_storage_iterator Update copyright years. 2016-01-04 15:30:50 +01:00
reference_wrapper Fix invalid dg-do directive 2016-08-17 20:58:44 +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 Define std::shared_ptr::weak_type 2016-08-03 20:09:57 +01:00
specialized_algorithms Use -std=gnu++98 instead of -std=gnu++03 in test 2016-08-01 13:17:54 +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 Implement C++17 rounding functions for std::chrono (P0092R1) 2016-08-05 14:52:59 +01:00
tuple Add c++11 effective target to tests for C++11 features 2016-08-17 20:23:15 +01: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 Add missing variable traits, fix testsuite failures. 2016-07-31 17:52:53 +03:00
variant Implement <variant> 2016-08-18 20:31:26 +00: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
variable_templates_for_traits.cc Implement C++17 variable templates for type traits. 2016-07-29 22:01:39 +03:00