gcc/libstdc++-v3/testsuite/20_util
Daniel Kruegler 6b9539e2aa Provide swappable traits (p0185r1)
2016-06-16  Daniel Kruegler  <daniel.kruegler@gmail.com>

	Provide swappable traits (p0185r1)
	* include/std/type_traits (is_swappable, is_nothrow_swappable,
	is_swappable_with, is_nothrow_swappable_with, is_swappable_v,
	is_nothrow_swappable_v, is_swappable_with_v,
	is_nothrow_swappable_with_v): New.
	* include/bits/stl_pair.h: Use it as per p0185r1.
	* include/bits/stl_queue.h: Likewise.
	* include/bits/stl_stack.h: Likewise.
	* include/bits/unique_ptr.h: Likewise.
	* include/std/tuple: Likewise.
	* include/std/array: Likewise. Fix zero-size member swap.
	* include/bits/hashtable.h: Use __and_.
	* testsuite/20_util/is_nothrow_swappable/requirements/
	explicit_instantiation.cc: Change test options to std=gnu++17.
	* testsuite/20_util/is_nothrow_swappable/requirements/typedefs.cc:
	Likewise.
	* testsuite/20_util/is_nothrow_swappable/value.cc: Likewise.
	* testsuite/20_util/is_swappable/requirements/
	explicit_instantiation.cc: Likewise.
	* testsuite/20_util/is_swappable/requirements/typedefs.cc: Likewise.
	* testsuite/20_util/is_swappable/value.cc: Likewise.
	* testsuite/20_util/is_nothrow_swappable/requirements/
	explicit_instantiation_ext.cc: New.
	* testsuite/20_util/is_nothrow_swappable/requirements/typedefs_ext.cc:
	New.
	* testsuite/20_util/is_nothrow_swappable/value.h: New.
	* testsuite/20_util/is_nothrow_swappable/value_ext.cc: New.
	* testsuite/20_util/is_nothrow_swappable_with/requirements/
	explicit_instantiation.cc: New.
	* testsuite/20_util/is_nothrow_swappable_with/requirements/typedefs.cc:
	New.
	* testsuite/20_util/is_nothrow_swappable_with/value.cc: New.
	* testsuite/20_util/is_swappable/requirements/
	explicit_instantiation_ext.cc: New.
	* testsuite/20_util/is_swappable/requirements/typedefs_ext.cc: New.
	* testsuite/20_util/is_swappable/value.h: New.
	* testsuite/20_util/is_swappable/value_ext.cc: New.
	* testsuite/20_util/is_swappable_with/requirements/
	explicit_instantiation.cc: New.
	* testsuite/20_util/is_swappable_with/requirements/typedefs.cc: New.
	* testsuite/20_util/is_swappable_with/value.cc: New.
	* testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust
	dg-error line numbers.
	* testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
	Likewise.

From-SVN: r237531
2016-06-16 16:07:19 +01:00
..
add_const
add_cv
add_lvalue_reference
add_pointer
add_rvalue_reference
add_volatile
addressof
align Make use of extensions more explicit in libstdc++ tests 2016-04-18 16:44:25 +01:00
aligned_storage
aligned_union
alignment_of
allocator
allocator_traits
auto_ptr
bad_function_call
bind
bool_constant
common_type/requirements
conditional/requirements
decay/requirements
declval/requirements
default_delete
duration
duration_cast
enable_if/requirements
enable_shared_from_this
exchange
extent
forward
function
function_objects
has_trivial_copy_assign
has_trivial_copy_constructor
has_trivial_default_constructor
has_virtual_destructor
hash
headers
integer_sequence
integral_constant
is_abstract
is_arithmetic
is_array
is_assignable
is_base_of
is_class
is_compound
is_const
is_constructible
is_convertible
is_copy_assignable
is_copy_constructible
is_default_constructible
is_destructible
is_empty
is_enum
is_final
is_floating_point Make use of extensions more explicit in libstdc++ tests 2016-04-18 16:44:25 +01:00
is_function
is_fundamental
is_implicitly_default_constructible
is_integral
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_copy_assignable
is_nothrow_copy_constructible
is_nothrow_default_constructible
is_nothrow_destructible
is_nothrow_move_assignable
is_nothrow_move_constructible
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
is_object
is_pod
is_pointer
is_polymorphic
is_reference
is_rvalue_reference
is_same
is_scalar
is_signed
is_standard_layout
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
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_union
is_unsigned
is_void
is_volatile
logical_traits
make_signed/requirements
make_unsigned/requirements
move
move_if_noexcept
owner_less
pair
pointer_safety
pointer_traits
rank
ratio
raw_storage_iterator
reference_wrapper
remove_all_extents
remove_const
remove_cv
remove_extent
remove_pointer
remove_reference
remove_volatile
result_of
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
system_clock
time_point
time_point_cast
tuple Support allocators in tuples of zero size. 2016-06-06 19:28:59 +03:00
typeindex
underlying_type/requirements
unique_ptr
uses_allocator Revert empty class parameter passing ABI changes. 2016-04-14 12:23:06 -04:00
void_t
weak_ptr
rel_ops.cc
temporary_buffer.cc