gcc/libstdc++-v3/include/tr1
Paolo Carlini 3c9b5053e0 PR libstdc++/24061 (issue 6.19)
2005-10-09  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/24061 (issue 6.19)
	* include/tr1/hashtable (struct node_const_iterator, struct
	hashtable_const_iterator): New, add const variants to enable separate
	overloadings for iterator and const_iterator in unordered_set and
	unordered_multiset (as required by issue 6.19).
	(class hashtable): Change the mutable_iterators template parameter
	to constant_iterators and adjust throughout the logic.
	(hashtable::insert(iterator, const value_type&), erase(iterator)
	erase(iterator, iterator)): New, as per issue 6.19.
	(hashtable::m_erase(node*, node**)): New, called by erase(iterator)
	and erase(const_iterator).
	(hashtable::Insert_Conv_Type): New, used by insert(iterator,
	const value_type&) and insert(const_iterator, const value_type&)
	to delegate the work to insert(const value_type&).
	* include/tr1/unordered_map (class unordered_map, unordered_multimap):
	Adjust typedefs.
	* include/tr1/unordered_set (class unordered_set, unordered_multiset):
	Likewise.
	* testsuite/tr1/6_containers/unordered/erase/24061-map.cc: New.
	* testsuite/tr1/6_containers/unordered/erase/24061-multimap.cc: New.
	* testsuite/tr1/6_containers/unordered/erase/24061-multiset.cc: New.
	* testsuite/tr1/6_containers/unordered/erase/24061-set.cc: New.
	* testsuite/tr1/6_containers/unordered/insert/24061-map.cc: New.
	* testsuite/tr1/6_containers/unordered/insert/24061-multimap.cc: New.
	* testsuite/tr1/6_containers/unordered/insert/24061-multiset.cc: New.
	* testsuite/tr1/6_containers/unordered/insert/24061-set.cc: New.

From-SVN: r105138
2005-10-09 10:34:47 +00:00
..
array re PR libstdc++/23781 (Implicit conversion from NULL to list<T>::iterator) 2005-09-11 09:48:41 +00:00
bind_iterate.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
bind_repeat.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
boost_shared_ptr.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
functional re PR libstdc++/23978 (tr1::tie doesn't work with std::pair) 2005-09-29 17:42:42 +00:00
functional_iterate.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
hashtable PR libstdc++/24061 (issue 6.19) 2005-10-09 10:34:47 +00:00
memory All files: Update FSF address. 2005-08-17 02:28:44 +00:00
mu_iterate.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
ref_fwd.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
ref_wrap_iterate.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
repeat.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
tuple All files: Update FSF address. 2005-08-17 02:28:44 +00:00
tuple_iterate.h tuple_iterate.h (tuple::operator=(const std::pair<>&)): Add missing return. 2005-10-01 08:35:49 +00:00
type_traits All files: Update FSF address. 2005-08-17 02:28:44 +00:00
type_traits_fwd.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00
unordered_map PR libstdc++/24061 (issue 6.19) 2005-10-09 10:34:47 +00:00
unordered_set PR libstdc++/24061 (issue 6.19) 2005-10-09 10:34:47 +00:00
utility All files: Update FSF address. 2005-08-17 02:28:44 +00:00