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