gcc/libstdc++-v3/include
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
..
backward All files: Update FSF address. 2005-08-17 02:28:44 +00:00
bits PR libstdc++/11729 (DR 280, [Ready]) 2005-10-05 15:49:39 +00:00
c All files: Update FSF address. 2005-08-17 02:28:44 +00:00
c_compatibility All files: Update FSF address. 2005-08-17 02:28:44 +00:00
c_std std_cmath.h: Declare C99 functions and helper functions as inline. 2005-09-01 20:59:31 +00:00
debug PR libstdc++/23578 (DR 464 [Ready]) 2005-08-29 16:11:19 +00:00
ext Fix libstdc++/24196 for ext/vstring/rc by returning to the behavior of basic_string pre-2003-06-13... 2005-10-07 15:55:17 +00:00
std re PR libstdc++/23875 (operator<<(short) should not call operator<<(long), etc.) 2005-09-15 17:27:23 +00:00
tr1 PR libstdc++/24061 (issue 6.19) 2005-10-09 10:34:47 +00:00
Makefile.am re PR libstdc++/22554 (pb_assoc header build and install overflows exec) 2005-09-13 19:22:52 +00:00
Makefile.in re PR libstdc++/22554 (pb_assoc header build and install overflows exec) 2005-09-13 19:22:52 +00:00
stdc++.h All files: Update FSF address. 2005-08-17 02:28:44 +00:00