gcc/libstdc++-v3/testsuite
François Dumont 12324b9a93 libstdc++: Fix unordered containers move constructors noexcept qualification
_Hashtable move constructor is wrongly qualified as noexcept(true) regardless of
_Equal and _H1 copy constructor qualifications.
_Hashtable allocator-aware move constructor is missing its noexcept
qualification like the depending unordered containers ones.

libstdc++-v3/ChangeLog:

	* include/bits/hashtable.h
	(_Hashtable(_Hashtable&& __ht, __node_alloc_type&& __a, true_type)):
	Add noexcept qualification.
	(_Hashtable(_Hashtable&&)): Fix noexcept qualification.
	(_Hashtable(_Hashtable&&, const allocator_type&)): Add noexcept
	qualification.
	* include/bits/unordered_map.h
	(unordered_map(unordered_map&&, const allocator_type&)): Add noexcept
	qualification.
	(unordered_multimap(unordered_multimap&&, const allocator_type&)):
	Likewise.
	* include/bits/unordered_set.h
	(unordered_set(unordered_set&&, const allocator_type&)): Likewise.
	(unordered_multiset(unordered_multiset&&, const allocator_type&)):
	Likewise.
	* include/debug/unordered_map
	(unordered_map(unordered_map&&, const allocator_type&)): Likewise.
	(unordered_multimap(unordered_multimap&&, const allocator_type&)):
	Likewise.
	* include/debug/unordered_set
	(unordered_set(unordered_set&&, const allocator_type&)): Likewise.
	(unordered_multiset(unordered_multiset&&, const allocator_type&)):
	Likewise.
	* testsuite/23_containers/unordered_map/allocator/default_init.cc:
	New test.
	* testsuite/23_containers/unordered_map/cons/noexcept_default_construct.cc:
	New test.
	* testsuite/23_containers/unordered_map/cons/noexcept_move_construct.cc:
	New test.
	* testsuite/23_containers/unordered_map/modifiers/move_assign.cc:
	New test.
	* testsuite/23_containers/unordered_multimap/cons/noexcept_default_construct.cc:
	New test.
	* testsuite/23_containers/unordered_multimap/cons/noexcept_move_construct.cc:
	New test.
	* testsuite/23_containers/unordered_multiset/cons/noexcept_default_construct.cc:
	New test.
	* testsuite/23_containers/unordered_multiset/cons/noexcept_move_construct.cc:
	New test.
	* testsuite/23_containers/unordered_set/allocator/default_init.cc:
	New test.
	* testsuite/23_containers/unordered_set/cons/noexcept_default_construct.cc:
	New test.
	* testsuite/23_containers/unordered_set/cons/noexcept_move_construct.cc:
	New test.
2020-07-29 11:26:42 +02:00
..
17_intro
18_support libstdc++: Require c++98_only effective target for some tests 2020-07-02 21:27:12 +01:00
19_diagnostics libstdc++: Require c++98_only effective target for some tests 2020-07-02 21:27:12 +01:00
20_util libstdc++: Make std::from_chars always round to nearest 2020-07-27 15:51:24 +01:00
21_strings Adjust text of expected warnings changed in PR c++/86568. 2020-07-01 08:33:29 -06:00
22_locale
23_containers libstdc++: Fix unordered containers move constructors noexcept qualification 2020-07-29 11:26:42 +02:00
24_iterators libstdc++: Constrain reverse_iterator and move_iterator conversions [LWG 3435] 2020-07-22 15:10:29 +01:00
25_algorithms
26_numerics libstdc++: Require c++98_only effective target for some tests 2020-07-02 21:27:12 +01:00
27_io libstdc++: Avoid overflow in istream::get(streambuf&) [LWG 3464] 2020-07-20 20:06:46 +01:00
28_regex libstdc++: Require c++98_only effective target for some tests 2020-07-02 21:27:12 +01:00
29_atomics libstdc++: Require c++98_only effective target for some tests 2020-07-02 21:27:12 +01:00
30_threads libstdc++: Add static assertions to futures and promises [LWG 3458] 2020-07-22 20:11:00 +01:00
abi
backward
config
data
decimal
experimental PR libstdc++/95915 2020-06-29 00:36:38 +03:00
ext
lib
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters
libstdc++-xmethods
performance
special_functions
std
tr1
tr2
util libstdc++: Add std::from_chars for floating-point types 2020-07-20 23:49:27 +01:00
Makefile.am
Makefile.in libstdc++: Regenerate makefiles 2020-06-23 07:59:40 +01:00