gcc/libstdc++-v3/testsuite
Jonathan Wakely 92e1622850 re PR libstdc++/56267 (unordered containers require Assignable hash function)
PR libstdc++/56267
	* include/bits/hashtable_policy.h (_Hash_code_base<... false>): Grant
	friendship to _Local_iterator_base<..., false>.
	(_Local_iterator_base): Give protected access to all existing members.
	(_Local_iterator_base::_M_curr()): New public accessor.
	(_Local_iterator_base::_M_get_bucket()): New public accessor.
	(_Local_iterator_base<..., false>::_M_init()): New function to manage
	the lifetime of the _Hash_code_base explicitly.
	(_Local_iterator_base<..., false>::_M_destroy()): Likewise.
	(_Local_iterator_base<..., false>): Define copy constructor and copy
	assignment operator that use new functions to manage _Hash_code_base.
	(operator==(const _Local_iterator_base&, const _Local_iterator_base&),
	operator==(const _Local_iterator_base&, const _Local_iterator_base&)):
	Use public API for _Local_iterator_base.
	* include/debug/safe_local_iterator.h (_Safe_local_iterator): Likewise.
	* include/debug/unordered_map (__debug::unordered_map::erase(),
	__debug::unordered_multimap::erase()): Likewise.
	* include/debug/unordered_set (__debug::unordered_set::erase(),
	__debug::unordered_multiset::erase()): Likewise.
	* testsuite/23_containers/unordered_set/56267-2.cc: New test.

From-SVN: r206834
2014-01-20 15:49:39 +00:00
..
17_intro Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
18_support Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
19_diagnostics Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
20_util Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
21_strings Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
22_locale Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
23_containers re PR libstdc++/56267 (unordered containers require Assignable hash function) 2014-01-20 15:49:39 +00:00
24_iterators Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
25_algorithms Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
26_numerics Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
27_io Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
28_regex regex_compiler.h (_Comipler<>::_M_quantifier()): Fix parse error of multiple consecutive quantifiers like "a**". 2014-01-19 21:59:20 +00:00
29_atomics Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
30_threads Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
abi Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
backward Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
config Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
data
decimal Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
experimental Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
ext Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
lib Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
libstdc++-abi Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
libstdc++-dg Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
libstdc++-prettyprinters Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
performance Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
tr1 Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
tr2 Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
util Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
Makefile.am Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
Makefile.in