gcc/libstdc++-v3/testsuite/20_util
Ville Voutilainen 3427e31331 libstdc++: Diagnose visitors with different return types [PR95904]
libstdc++-v3/ChangeLog:

	PR libstdc++/95904
	* include/std/variant (__deduce_visit_result): Add a nested ::type.
	(__gen_vtable_impl</*base case*/>::_S_apply):
	Check the visitor return type.
	(__same_types): New.
	(__check_visitor_result): Likewise.
	(__check_visitor_results): Likewise.
	(visit(_Visitor&&, _Variants&&...)): Use __check_visitor_results
	in case we're visiting just one variant.
	* testsuite/20_util/variant/visit_neg.cc: Adjust.
2020-10-09 20:48:08 +03:00
..
add_const
add_cv
add_lvalue_reference
add_pointer
add_rvalue_reference
add_volatile
addressof
align libstdc++: Fix overflow handling in std::align 2020-09-22 17:49:48 +01:00
aligned_storage
aligned_union
alignment_of
allocator libstdc++: Make allocators throw bad_array_new_length on overflow [LWG 3190] 2020-10-05 15:18:56 +01:00
allocator_traits
any
as_const
assume_aligned libstdc++: Make std::assume_aligned a constexpr function [PR 97132] 2020-09-21 14:28:58 +01:00
auto_ptr
bad_function_call
bind
bool_constant
common_reference/requirements
common_type/requirements
conditional/requirements
decay/requirements
declval/requirements
default_delete
duration
duration_cast libstdc++: Test C++11 implementation of std::chrono::__detail::ceil 2020-10-05 11:09:03 +01:00
enable_if/requirements
enable_shared_from_this
exchange
extent
forward
from_chars
function
function_objects libstdc++: Fix noexcept-specifier for std::bind_front [PR 97101] 2020-09-21 00:17:02 +01:00
has_unique_object_representations
has_virtual_destructor
hash
headers
in_place
integer_comparisons
integer_sequence
integral_constant
invoke_result libstdc++: assert that type traits are not misused with incomplete types [PR 71579] 2020-09-24 18:51:37 +01:00
is_abstract
is_aggregate
is_arithmetic
is_array
is_assignable
is_base_of
is_bounded_array
is_class
is_complete_or_unbounded
is_compound
is_const
is_constant_evaluated
is_constructible
is_convertible
is_copy_assignable
is_copy_constructible
is_default_constructible
is_destructible
is_empty
is_enum
is_final
is_floating_point
is_function
is_fundamental
is_implicitly_default_constructible
is_integral
is_invocable libstdc++: assert that type traits are not misused with incomplete types [PR 71579] 2020-09-24 18:51:37 +01:00
is_literal_type
is_lvalue_reference
is_member_function_pointer
is_member_object_pointer
is_member_pointer
is_move_assignable
is_move_constructible
is_nothrow_assignable
is_nothrow_constructible
is_nothrow_convertible
is_nothrow_copy_assignable
is_nothrow_copy_constructible
is_nothrow_default_constructible
is_nothrow_destructible
is_nothrow_invocable libstdc++: assert that type traits are not misused with incomplete types [PR 71579] 2020-09-24 18:51:37 +01:00
is_nothrow_move_assignable
is_nothrow_move_constructible
is_nothrow_swappable
is_nothrow_swappable_with
is_null_pointer
is_object
is_pod
is_pointer
is_polymorphic
is_reference
is_rvalue_reference
is_same
is_scalar
is_signed
is_standard_layout
is_swappable
is_swappable_with
is_trivial
is_trivially_assignable
is_trivially_constructible
is_trivially_copy_assignable
is_trivially_copy_constructible
is_trivially_copyable
is_trivially_default_constructible
is_trivially_destructible
is_trivially_move_assignable
is_trivially_move_constructible
is_unbounded_array
is_union
is_unsigned
is_void
is_volatile
logical_traits
make_signed/requirements
make_unsigned/requirements
memory_resource
monotonic_buffer_resource
move
move_if_noexcept
nonesuch
optional
owner_less
pair
pointer_safety
pointer_traits
polymorphic_allocator
rank
ratio
raw_storage_iterator
reference_wrapper
remove_all_extents
remove_const
remove_cv
remove_cvref
remove_extent
remove_pointer
remove_reference
remove_volatile
result_of
scoped_allocator
shared_ptr
specialized_algorithms libstdc++: Make ranges::construct_at constexpr-friendly [PR95788] 2020-10-08 18:10:05 -04:00
steady_clock
synchronized_pool_resource
system_clock
time_point
time_point_cast
to_address
to_chars
tuple libstdc++: Use correct argument type for __use_alloc, again [PR 96803] 2020-09-22 08:42:18 +01:00
type_identity/requirements
typeindex
underlying_type/requirements
unique_ptr
unsynchronized_pool_resource
unwrap_reference
uses_allocator
variant libstdc++: Diagnose visitors with different return types [PR95904] 2020-10-09 20:48:08 +03:00
void_t
weak_ptr
rel_ops.cc
temporary_buffer.cc
variable_templates_for_traits.cc