gcc/libstdc++-v3/testsuite
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
..
17_intro libstdc++/69406 Fix test to check for supported headers 2016-01-21 13:33:27 +00:00
18_support Make use of extensions more explicit in libstdc++ tests 2016-04-18 16:44:25 +01:00
19_diagnostics Update copyright years. 2016-01-04 15:30:50 +01:00
20_util Provide swappable traits (p0185r1) 2016-06-16 16:07:19 +01:00
21_strings Test for C99 stdlib.h functions with -std=c++98 2016-02-04 23:47:21 +00:00
22_locale libstdc++/69703 ignore endianness in codecvt_utf8 2016-04-19 19:02:46 +01:00
23_containers Provide swappable traits (p0185r1) 2016-06-16 16:07:19 +01:00
24_iterators libstdc++/70766 use std::addressof instead of operator& 2016-04-28 13:33:07 +01:00
25_algorithms Make use of extensions more explicit in libstdc++ tests 2016-04-18 16:44:25 +01:00
26_numerics PR libstdc++/41759 reword static assertions in <random> 2016-04-18 19:03:50 +01:00
27_io Update copyright years. 2016-01-04 15:30:50 +01:00
28_regex re PR libstdc++/70745 (Wrong handling of regex_constant::match_not_eow and regex_constant::match_not_bow) 2016-04-23 03:58:37 +00:00
29_atomics libstdc++/70766 use std::addressof instead of operator& 2016-04-28 13:33:07 +01:00
30_threads libstdc++/70766 use std::addressof instead of operator& 2016-04-28 13:33:07 +01:00
abi Update copyright years. 2016-01-04 15:30:50 +01:00
backward Update copyright years. 2016-01-04 15:30:50 +01:00
config Update copyright years. 2016-01-04 15:30:50 +01:00
data
decimal Make use of extensions more explicit in libstdc++ tests 2016-04-18 16:44:25 +01:00
experimental libstdc++/71320 Add or remove file permissions correctly 2016-06-06 16:50:01 +01:00
ext Revert empty class parameter passing ABI changes. 2016-04-14 12:23:06 -04:00
lib Enable dg-reqire-sharedlib on Solaris 2016-05-05 19:54:42 +00:00
libstdc++-abi Update copyright years. 2016-01-04 15:30:50 +01:00
libstdc++-dg Implement TR29124 C++ special Math Functions. 2016-01-14 18:12:43 +00:00
libstdc++-prettyprinters Ensure stdout is newline terminated for status wrappers. 2016-02-09 20:18:10 +00:00
libstdc++-xmethods Update copyright years. 2016-01-04 15:30:50 +01:00
performance c++config (_GLIBCXX14_USE_CONSTEXPR): New. 2016-05-24 20:55:57 +00:00
special_functions Fix FAIL: special_functions/18_riemann_zeta/check_value.cc (test for excess errors) 2016-02-12 21:23:11 +00:00
tr1 Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
tr2 Update copyright years. 2016-01-04 15:30:50 +01:00
util Remove trailing whitespace from libstdc++-v3 files 2016-04-29 17:11:43 +01:00
Makefile.am Update copyright years. 2016-01-04 15:30:50 +01:00
Makefile.in libstdc++-v3/fragment.am (AM_CPPFLAGS): Add CPPFLAGS 2015-07-24 07:05:19 +00:00