gcc/libstdc++-v3/testsuite/ext
Paolo Carlini 94938aec1a re PR libstdc++/54577 (deque<T>::erase() still takes iterator instead of const_iterator)
2013-05-10  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/54577
	* include/bits/stl_deque.h (erase): Fix signatures in C++11 mode.
	(_Deque_iterator<>::_M_const_cast): Add.
	(deque<>::_M_erase): Declare.
	* include/bits/deque.tcc: ... and define.
	* include/bits/stl_list.h (erase): Fix signatures in C++11 mode.
	(_List_const_iterator<>::_M_const_cast): Add.
	* include/bits/list.tcc (erase (iterator)): Fix.
	* include/bits/stl_iterator.h (__normal_iterator<>::_M_const_cast):
	Add; include <ext/cast.h>.
	* include/bits/stl_vector.h (erase): Fix signatures in C++11 mode.
	(vector<>::_M_erase): Declare.
	* include/bits/stl_bvector.h: Likewise.
	* include/bits/vector.tcc (vector<>::_M_erase): Define.
	* include/ext/vstring.h (erase): Fix signatures in C++11 mode.
	* include/debug/deque: Adjust.
	* include/debug/list: Likewise.
	* include/debug/vector: Likewise.
	* include/profile/deque: Likewise.
	* include/profile/list: Likewise.
	* include/profile/vector: Likewise.
	* testsuite/util/exception/safety.h (erase_base<deque>,
	erase_base<deque>, erase_base<vector>): Remove.
	(erase_base<__versa_string>): Update.
	* testsuite/ext/vstring/modifiers/char/54577.cc: New.
	* testsuite/ext/vstring/modifiers/wchar_t/54577.cc: Likewise.
	* testsuite/23_containers/deque/modifiers/erase/54577.cc: Likewise.
	* testsuite/23_containers/list/modifiers/erase/54577.cc: Likewise.
	* testsuite/23_containers/vector/bool/modifiers/erase/54577.cc:
	Likewise.
	* testsuite/23_containers/vector/modifiers/erase/54577.cc: Likewise.
	* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
	Adjust dg-error line numbers.
	* testsuite/23_containers/deque/requirements/dr438/
	constructor_1_neg.cc: Likewise.
	* testsuite/23_containers/deque/requirements/dr438/
	constructor_2_neg.cc: Likewise.
	* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
	Likewise.
	* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
	Likewise.
	* testsuite/23_containers/list/requirements/dr438/
	constructor_1_neg.cc: Likewise.
	* testsuite/23_containers/list/requirements/dr438/
	constructor_2_neg.cc: Likewise.
	* testsuite/23_containers/list/requirements/dr438/
	insert_neg.cc: Likewise.
	* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
	Likewise.
	* testsuite/23_containers/vector/requirements/dr438/
	constructor_1_neg.cc: Likewise.
	* testsuite/23_containers/vector/requirements/dr438/
	constructor_2_neg.cc: Likewise.
	* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
	Likewise.

From-SVN: r198790
2013-05-10 15:18:33 +00:00
..
array_allocator Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
bitmap_allocator Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
codecvt Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
concurrence_lock_error Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
concurrence_unlock_error Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
debug_allocator re PR libstdc++/56170 (Extension debug_allocator seems non-compliant w.r.t. rebind) 2013-03-24 22:10:29 +00:00
enc_filebuf Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
ext_pointer Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
forced_error Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
iota Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_heap Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
is_sorted Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
malloc_allocator Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
mt_allocator Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
new_allocator Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
numeric_traits Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
pb_ds Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
pool_allocator Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
profile Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
random Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
rope Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
slist Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
stdio_filebuf Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
stdio_sync_filebuf Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
throw_allocator Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
throw_value Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
triangular_distribution Add math constants and triangular and von Mises distributions. 2013-03-03 00:12:28 +00:00
type_traits Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
von_mises_distribution Add math constants and triangular and von Mises distributions. 2013-03-03 00:12:28 +00:00
vstring re PR libstdc++/54577 (deque<T>::erase() still takes iterator instead of const_iterator) 2013-05-10 15:18:33 +00:00
concept_checks.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
headers.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
median.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00
pod_char_traits.cc Update copyright in libstdc++-v3. 2013-02-03 17:54:05 +00:00