gcc/libstdc++-v3/testsuite/performance
Paolo Carlini ac317859d4 re PR libstdc++/19433 (set, multiset, map, multimap misuse hint on insert)
2005-01-17  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/19433
	* include/bits/stl_tree.h (_Rb_tree<>::insert_unique(iterator,
	const _Val&), _Rb_tree<>::insert_equal(iterator, const _Val&)):
	Obtain amortized constant complexity if t is inserted right after
	p - not before p - as per Table 69.
	* testsuite/performance/23_containers/set_insert_from_sorted.cc: New.

	* testsuite/23_containers/multiset/insert/2.cc: New.
	* testsuite/23_containers/set/insert/1.cc: Likewise.

	* testsuite/performance/23_containers/set_create_from_sorted.cc:
	Simplify.

	* include/bits/stl_tree.h: Add a few missing std:: qualifications.

From-SVN: r93761
2005-01-17 14:14:26 +00:00
..
20_util/allocator list_sort_search.cc: Include <ext/new_allocator.h>. 2004-10-19 08:56:32 +00:00
21_strings
22_locale
23_containers re PR libstdc++/19433 (set, multiset, map, multimap misuse hint on insert) 2005-01-17 14:14:26 +00:00
25_algorithms testsuite_iterators.h: New. 2004-11-24 06:24:10 +00:00
26_numerics
27_io ifstream_getline-2.cc: New. 2004-11-07 12:35:48 +00:00