gcc/libstdc++-v3/testsuite/23_containers/unordered_set
Benjamin Kosnik 4dad8b49ee unordered_map.h (__unordered_map): Remove.
2012-04-12  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/unordered_map.h (__unordered_map): Remove.
	(__unordered_multimap): Remove.
	Add aliases for __umap_traits, __umap_hashtable, __ummap_traits,
	__ummap_hashtable.
	(unordered_map): Derive from __umap_hashtable.
	(unordered_multimap): Derive from __ummap_hashtable.
	* include/bits/unordered_set.h (__unordered_set): Remove.
	(__unordered_multiset): Remove.
	Add aliases for __uset_traits, __uset_hashtable, __umset_traits,
	__umset_hashtable.
	(unordered_set): Derive from __uset_hashtable.
	(unordered_multiset): Derive from __umset_hashtable.
	* include/bits/hashtable.h (__cache_default): New, consolidated
	cache defaults for _Hashtable. Adjust comments for doxygen.
	(_Hashtable): Consolidate bool template parameters into new,
	_Traits class. Inherited base classes synthesize _Hashtable in
	CRTP via original 10 parameters. Prefer using declarations to
	typedefs, add __node_type, __bucket_type, etc. Push many nested
	types down hierarchy to _Hashtable_base. Add constructors
	necessary for top-level unordered_containers. Consolidate insert
	member functions and logic in new base class, __detail::_Insert
	and __detail::_Insert_base.
	(_Hashtable::operator=(initializer_list)): Add.
	* include/bits/hashtable_policy.h: Convert to doxygen markup.
	(_Hashtable_traits) New. Consolidate bool template parameters here.
	(_Insert, _Insert_base): New, consolidated insert member functions.
	(_Map_base, _Equality, _Rehash_base): Adjust template parameters,
	use base types.
	(_Hashtable_base): Move type declarations useful to other base
	classes into this class.
	* python/libstdcxx/v6/printers.py (Tr1HashtableIterator): Update.
	* testsuite/23_containers/unordered_set/instantiation_neg.cc:
	Adjust traits, line numbers.

From-SVN: r186403
2012-04-13 00:33:10 +00:00
..
cons hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)): Remove noexcept, the move constructor allocates memory... 2011-09-01 15:45:20 +00:00
debug formatter.h (enum _Debug_msg_id): Add __msg_self_move_assign. 2012-03-09 10:37:34 +00:00
erase re PR libstdc++/51558 (Declaration of unspecialized std::hash<_Tp>::operator()(_Tp) turns compile-time errors into link-time errors) 2011-12-15 22:15:21 +00:00
hash_policy re PR libstdc++/41975 ([C++0x] [DR579] unordered_set::erase performs worse when nearly empty) 2011-11-23 20:30:18 +00:00
insert hashtable.h (_Hashtable<>::_M_rehash): Take and restore hash policy _M_prev_resize on exception. 2011-09-14 19:50:20 +00:00
max_load_factor hashtable.h (_Hashtable<>::__rehash_policy(const _RehashPolicy&)): Commit the modification of the policy only if no exception occured. 2011-09-17 09:12:24 +00:00
modifiers hashtable.h (_Hashtable<>::emplace, [...]): Add. 2011-12-09 20:01:04 +00:00
operations count.cc: New. 2011-10-28 11:54:04 +00:00
operators re PR libstdc++/52309 ([c++0x] unordered_set illegally requires value_type::operator!=) 2012-02-20 11:11:39 +00:00
requirements re PR libstdc++/52942 (using std::ref with a std::unordered_map fails to compile) 2012-04-12 12:18:06 +00:00
final_hash.cc re PR libstdc++/51608 ([C++11] Unordered containers end(size_type) isn't constant time) 2011-12-29 17:58:51 +00:00
init-list.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
instantiation_neg.cc unordered_map.h (__unordered_map): Remove. 2012-04-13 00:33:10 +00:00
observers.cc hashtable_policy.h (_Hashtable_base<>::_M_eq()): protected rather than private, use it... 2012-01-05 20:59:17 +00:00
range_access.cc [multiple changes] 2010-07-27 17:27:06 +00:00