gcc/libstdc++-v3/testsuite/23_containers
Jonathan Wakely 866e4d3853 PR libstdc++/48101 improve errors for invalid container specializations
PR libstdc++/48101
	* include/bits/allocator.h (allocator<const _Tp>)
	(allocator<volatile _Tp>, allocator<const volatile _Tp>): Add partial
	specializations.
	* include/bits/forward_list.h (forward_list): Add static assertions.
	* include/bits/hashtable.h (__cache_default): Use
	__is_nothrow_invocable instead of __is_noexcept_hash.
	(_Hashtable): Add static assertions.
	* include/bits/hashtable_policy.h (__is_noexcept_hash): Remove.
	* include/bits/stl_deque.h (deque): Add static assertions.
	* include/bits/stl_function.h (_Identity<const _Tp>): Add partial
	specialization.
	* include/bits/stl_list.h (list): Add static assertions.
	* include/bits/stl_map.h (map): Likewise.
	* include/bits/stl_multimap.h (multimap): Likewise.
	* include/bits/stl_multiset.h (multiset): Likewise.
	* include/bits/stl_set.h (set): Likewise.
	* include/bits/stl_tree.h (_Rb_tree): Likewise.
	* include/bits/stl_vector.h (vector): Likewise.
	* include/bits/unordered_map.h (unordered_map, unordered_multimap):
	Use typename instead of class in template-parameter-list and remove
	spaces.
	* include/bits/unordered_set.h (unordered_set, unordered_multiset):
	Likewise.
	* testsuite/23_containers/deque/48101-2_neg.cc: New test.
	* testsuite/23_containers/deque/48101_neg.cc: New test.
	* testsuite/23_containers/forward_list/48101-2_neg.cc: New test.
	* testsuite/23_containers/forward_list/48101_neg.cc: New test.
	* testsuite/23_containers/list/48101-2_neg.cc: New test.
	* testsuite/23_containers/list/48101_neg.cc: New test.
	* testsuite/23_containers/map/48101-2_neg.cc: New test.
	* testsuite/23_containers/map/48101_neg.cc: New test.
	* testsuite/23_containers/map/operations/31440.cc: Fix comparison
	object to have const-qualified call operator.
	* testsuite/23_containers/multimap/48101-2_neg.cc: New test.
	* testsuite/23_containers/multimap/48101_neg.cc: New test.
	* testsuite/23_containers/multiset/48101-2_neg.cc: New test.
	* testsuite/23_containers/multiset/48101_neg.cc: New test.
	* testsuite/23_containers/set/48101-2_neg.cc: New test.
	* testsuite/23_containers/set/48101_neg.cc: New test.
	* testsuite/23_containers/unordered_map/48101-2_neg.cc: New test.
	* testsuite/23_containers/unordered_map/48101_neg.cc: New test.
	* testsuite/23_containers/unordered_multimap/48101-2_neg.cc: New test.
	* testsuite/23_containers/unordered_multimap/48101_neg.cc: New test.
	* testsuite/23_containers/unordered_multiset/48101-2_neg.cc: New test.
	* testsuite/23_containers/unordered_multiset/48101_neg.cc: New test.
	* testsuite/23_containers/unordered_set/48101-2_neg.cc: New test.
	* testsuite/23_containers/unordered_set/48101_neg.cc: New test.
	* testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust
	dg-error line number.
	* testsuite/23_containers/vector/48101-2_neg.cc: New test.
	* testsuite/23_containers/vector/48101_neg.cc: New test.

From-SVN: r255035
2017-11-21 20:47:09 +00:00
..
array Implement LWG 2485 2017-10-30 16:31:04 +02:00
bitset
deque PR libstdc++/48101 improve errors for invalid container specializations 2017-11-21 20:47:09 +00:00
forward_list PR libstdc++/48101 improve errors for invalid container specializations 2017-11-21 20:47:09 +00:00
headers libstdc++.exp (check_v3_target_normal_mode): Add c++config.h include. 2017-10-24 20:20:12 +00:00
list PR libstdc++/48101 improve errors for invalid container specializations 2017-11-21 20:47:09 +00:00
map PR libstdc++/48101 improve errors for invalid container specializations 2017-11-21 20:47:09 +00:00
multimap PR libstdc++/48101 improve errors for invalid container specializations 2017-11-21 20:47:09 +00:00
multiset PR libstdc++/48101 improve errors for invalid container specializations 2017-11-21 20:47:09 +00:00
priority_queue
queue invoke.texi: Document -std=c++17 and -std=gnu++17 and document c++1z and gnu++1z as deprecated. 2017-09-15 18:15:46 +02:00
set PR libstdc++/48101 improve errors for invalid container specializations 2017-11-21 20:47:09 +00:00
stack invoke.texi: Document -std=c++17 and -std=gnu++17 and document c++1z and gnu++1z as deprecated. 2017-09-15 18:15:46 +02:00
unordered_map PR libstdc++/48101 improve errors for invalid container specializations 2017-11-21 20:47:09 +00:00
unordered_multimap PR libstdc++/48101 improve errors for invalid container specializations 2017-11-21 20:47:09 +00:00
unordered_multiset PR libstdc++/48101 improve errors for invalid container specializations 2017-11-21 20:47:09 +00:00
unordered_set PR libstdc++/48101 improve errors for invalid container specializations 2017-11-21 20:47:09 +00:00
vector PR libstdc++/48101 improve errors for invalid container specializations 2017-11-21 20:47:09 +00:00