gcc/libstdc++-v3/testsuite
Paolo Carlini 33913cfa99 forward_list.h (forward_list<>::erase_after): Change signature per N2988, return void; simplify.
2009-11-13  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/bits/forward_list.h (forward_list<>::erase_after):
	Change signature per N2988, return void; simplify.
	(_Fwd_list_base<>::_M_erase_after): Likewise return void.
	(forward_list<>::~forward_list): Do not call _M_erase_after
	unnecessarily, the base class destructor already does it.
	(forward_list<>::splice_after(const_iterator position,
	forward_list&&, const_iterator i): Check position != i and
	position != ++i.
	* include/bits/forward_list.tcc (_Fwd_list_base<>::
	_M_erase_after(typename _Node_base::_Pointer): Simplify.
	(_Fwd_list_base<>::_M_erase_after(typename _Node_base::_Pointer,
	typename _Node_base::_Pointer): Fix (remove the correct range
	of element) and simplify (update __pos->_M_next at the end).
	* testsuite/23_containers/forward_list/modifiers/3.cc: Adjust
	and extend.
	* testsuite/23_containers/forward_list/ext_pointer/
	modifiers/3.cc: Likewise.
	* testsuite/23_containers/forward_list/requirements/dr438/
	assign_neg.cc: Tweak dg-error line numbers.
	* testsuite/23_containers/forward_list/requirements/dr438/
	insert_neg.cc: Likewise.
	* testsuite/23_containers/forward_list/requirements/dr438/
	constructor_1_neg.cc: Likewise.
	* testsuite/23_containers/forward_list/requirements/dr438/
	constructor_2_neg.cc: Likewise.

From-SVN: r154174
2009-11-13 22:41:49 +00:00
..
17_intro extc++.h: Don't include TR1 if C++0x. 2009-08-12 00:56:12 +00:00
18_support denorm_min.cc: Use dg-add-options ieee. 2009-08-31 22:29:47 +00:00
19_diagnostics call.c (implicit_conversion): Handle conversion from initializer-list to scalar. 2009-05-27 18:23:41 -04:00
20_util type_traits (declval): Add, per DR 1255. 2009-11-13 02:25:12 +00:00
21_strings basic_string.h (to_string(int), [...]): Add, per resolution of DR 1261. 2009-11-11 19:57:48 +00:00
22_locale re PR libstdc++/40712 (locale(const locale&, const char*, locale::category) can create broken locale) 2009-07-18 22:58:10 +00:00
23_containers forward_list.h (forward_list<>::erase_after): Change signature per N2988, return void; simplify. 2009-11-13 22:41:49 +00:00
24_iterators 2009-06-20 Paolo Carlini <paolo.carlini@oracle.com> 2009-06-21 00:57:56 +00:00
25_algorithms 009-11-04 Benjamin Kosnik <bkoz@redhat.com> 2009-11-05 02:55:08 +00:00
26_numerics random.h (class linear_congruential_engine, [...]): Do not use simulated concept checks... 2009-10-12 19:11:31 +00:00
27_io libstdc++.exp (check_v3_target_binary_io): New. 2009-09-18 00:54:25 +01:00
28_regex Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
29_atomics stdatomic.h: Include cstdatomic if __cplusplus. 2009-10-16 20:17:39 +00:00
30_threads future: Use base class with nested types. 2009-11-03 00:47:48 +00:00
abi Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
backward Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
config Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
data Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
decimal binary-arith.cc: Fix directive to skip test. 2009-10-06 23:17:07 +00:00
ext c++config: Do not disable extern templates for string in plain parallel-mode and in... 2009-10-15 00:01:05 +00:00
lib [multiple changes] 2009-10-05 14:11:11 +00:00
libstdc++-abi Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
libstdc++-dg [multiple changes] 2009-10-05 17:42:00 +00:00
performance future: New. 2009-06-21 15:02:09 +01:00
tr1 random.tcc: Define static const data members. 2009-09-30 00:50:24 +00:00
util re PR c++/39131 (decimal float point: ICE on typeid( 0.dd )) 2009-11-11 23:44:24 -05:00
Makefile.am Makefile.am: Remove use of baseline_file. 2009-11-11 23:44:32 -05:00
Makefile.in Makefile.am: Remove use of baseline_file. 2009-11-11 23:44:32 -05:00