gcc/libstdc++-v3/testsuite
Paolo Carlini bc9053abce re PR libstdc++/24617 (vector vs __erase_at_end)
2005-12-08  Paolo Carlini  <pcarlini@suse.de>

	* include/bits/stl_vector.h (vector<>::size, resize, capacity,
	operator[]): Avoid troubles with ADL, user defined operators
	and __normal_iterator.
	(_M_erase_at_end): Fix to take a pointer.
	(clear): Adjust call.
	* include/bits/vector.tcc (vector<>::insert(iterator, const
	value_type&), erase(iterator, iterator), operator=(const
	vector<>&), _M_assign_aux(input_iterator_tag), _M_insert_aux,
	_M_fill_insert, _M_range_insert): Likewise.
	(_M_fill_assign, _M_assign_aux(forward_iterator_tag)): Adjust
	_M_erase_at_end call.
	* testsuite/23_containers/vector/types/1.cc: New.

2005-12-08  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/24617
	* include/bits/stl_vector.h (vector<>::_M_erase_at_end): New.
	(vector<>::clear, resize): Use it.
	* include/bits/vector.tcc (vector<>::erase(iterator, iterator),
	_M_fill_assign, _M_assign_aux): Likewise.

	* testsuite/23_containers/vector/modifiers/erase/1.cc: New.

From-SVN: r108227
2005-12-08 11:32:37 +00:00
..
17_intro
18_support re PR libstdc++/22203 (std::numeric_limits<int>::traps is wrong on PPC) 2005-11-10 02:05:13 +00:00
19_diagnostics re PR libstdc++/23591 (exceptions in plugins in threads cause segmentation violation by leaving bad exit handler for the pthread) 2005-11-22 06:54:08 +00:00
20_util
21_strings basic_string.h (insert(iterator, _CharT), [...]): Avoid troubles with ADL, user defined operators and __normal_iterator. 2005-12-06 17:19:30 +00:00
22_locale re PR libstdc++/23953 (using stringstreams causes crashes with some locales) 2005-09-30 08:39:52 +00:00
23_containers re PR libstdc++/24617 (vector vs __erase_at_end) 2005-12-08 11:32:37 +00:00
24_iterators PR libstdc++/11729 (DR 280, [Ready]) 2005-10-05 15:49:39 +00:00
25_algorithms
26_numerics
27_io re PR libstdc++/24198 (Remove from the testsuite gnu_char_type (or fix it)) 2005-10-05 19:11:18 +00:00
backward
config
data
demangle
ext re PR libstdc++/23591 (exceptions in plugins in threads cause segmentation violation by leaving bad exit handler for the pthread) 2005-11-22 06:54:08 +00:00
lib re PR testsuite/25193 (libstdc++ testsuite fails on cygwin) 2005-12-01 23:57:28 +00:00
libstdc++-abi
libstdc++-dg re PR libstdc++/23591 (exceptions in plugins in threads cause segmentation violation by leaving bad exit handler for the pthread) 2005-11-22 06:54:08 +00:00
performance
thread
tr1 [multiple changes] 2005-11-13 12:14:15 +00:00
Makefile.am
Makefile.in re PR libstdc++/23591 (exceptions in plugins in threads cause segmentation violation by leaving bad exit handler for the pthread) 2005-11-22 06:54:08 +00:00
testsuite_abi_check.cc
testsuite_abi.cc re PR libstdc++/13583 (__use_cache not threadsafe) 2005-10-11 06:19:13 +00:00
testsuite_abi.h
testsuite_allocator.cc
testsuite_allocator.h
testsuite_character.cc
testsuite_character.h
testsuite_common_types.h
testsuite_hooks.cc
testsuite_hooks.h
testsuite_io.h
testsuite_iterators.h
testsuite_performance.h
testsuite_shared.cc re PR libstdc++/23591 (exceptions in plugins in threads cause segmentation violation by leaving bad exit handler for the pthread) 2005-11-22 06:54:08 +00:00
testsuite_tr1.h re PR libstdc++/24808 (is_object fails to compile with incomplete types) 2005-11-12 00:19:24 +00:00
testsuite_visualization.h