gcc/libstdc++-v3/testsuite
Jonathan Wakely 1cbba49e34 libstdc++: Simplify noexcept-specifiers for move constructors
This puts the logic for the noexcept-specifier in one place, and then
reuses it elsewhere. This means checking whether the move constructor
can throw doesn't need to do overload resolution and then check whether
some other constructor can throw, we just get the answer directly.

libstdc++-v3/ChangeLog:

	* include/bits/hashtable.h (_Hashtable::_S_nothrow_move()):
	New function to determine noexcept-specifier for move
	constructors.
	(_Hashtable): Use _S_nothrow_move() on move constructors.
	* testsuite/23_containers/unordered_map/cons/noexcept_move_construct.cc:
	Correct static assertion message.
	* testsuite/23_containers/unordered_multimap/cons/noexcept_move_construct.cc:
	Likewise.
	* testsuite/23_containers/unordered_multiset/cons/noexcept_move_construct.cc:
	Likewise.
	* testsuite/23_containers/unordered_set/cons/noexcept_move_construct.cc:
	Likewise.
2021-04-08 17:49:59 +01:00
..
17_intro libstdc++, testsuite, Darwin : Adjust for names used in system headers. 2021-03-15 15:42:39 +00:00
18_support c++: Fix source_location inconsistency between calls from templates and non-templates [PR99672] 2021-03-25 21:35:11 +01:00
19_diagnostics libstdc++: Fix incorrect test for std::error_code comparisons 2021-02-03 15:49:36 +00:00
20_util libstdc++: Address remaining to_chars/long_double.cc FAILs [PR98384] 2021-04-08 11:10:58 -04:00
21_strings libstdc++: Fix and complete __gnu_debug::basic_string implementation 2021-03-25 21:56:14 +01:00
22_locale
23_containers libstdc++: Simplify noexcept-specifiers for move constructors 2021-04-08 17:49:59 +01:00
24_iterators libstdc++: Add noexcept to std::begin etc as per LWG 2280 and 3537 2021-03-22 15:56:49 +00:00
25_algorithms
26_numerics libstdc++: Add PRNG fallback to std::random_device 2021-03-26 19:12:12 +00:00
27_io libstdc++: Fix filesystem::path construction from COW string [PR 99805] 2021-04-07 16:39:24 +01:00
28_regex
29_atomics Add options to link with libatomic in various tests. 2021-03-10 16:01:12 +00:00
30_threads improve future::poll calibration loop 2021-03-31 15:45:56 -03:00
abi
backward
config
data
decimal
experimental libstdc++: Fix filesystem::rename on Windows [PR 98985] 2021-02-12 15:29:50 +00:00
ext
lib
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters
libstdc++-xmethods
performance
special_functions
std libstdc++: Reimplement range adaptors [PR99433] 2021-04-08 10:40:19 -04:00
tr1
tr2
util libstdc++: Add PRNG fallback to std::random_device 2021-03-26 19:12:12 +00:00
Makefile.am libstdc++: Work around test failures using -mno-tree-vrp 2021-02-03 15:49:30 +00:00
Makefile.in libstdc++: Work around test failures using -mno-tree-vrp 2021-02-03 15:49:30 +00:00