gcc/libstdc++-v3/testsuite/23_containers/unordered_map
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
..
allocator
cons libstdc++: Simplify noexcept-specifiers for move constructors 2021-04-08 17:49:59 +01:00
debug
erase
hash_policy
insert
modifiers
operations libstdc++: Add unordered containers heterogeneous lookup 2021-02-09 21:56:27 +01:00
operators
profile
requirements
48101_neg.cc
48101-2_neg.cc
48101-3_neg.cc
55043.cc
59548.cc
dr761.cc
dup_types.cc
erasure.cc
final_hash.cc
init-list.cc
observers.cc
pmr_typedefs_debug.cc
pmr_typedefs.cc
range_access.cc