gcc/libstdc++-v3/testsuite/23_containers
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
..
array/requirements basic_string.h (basic_string): Add cbegin(), cend(), crbegin(), crend() in C++0x mode. 2009-08-25 22:29:08 +00:00
bitset Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
deque merge branch profile-stdlib 2009-10-03 02:17:41 +00:00
forward_list forward_list.h (forward_list<>::erase_after): Change signature per N2988, return void; simplify. 2009-11-13 22:41:49 +00:00
headers stl_pair.h (swap): Do not swap rvalues. 2009-05-18 23:15:56 +01:00
list merge branch profile-stdlib 2009-10-03 02:17:41 +00:00
map basic_string.h (basic_string): Add cbegin(), cend(), crbegin(), crend() in C++0x mode. 2009-08-25 22:29:08 +00:00
multimap basic_string.h (basic_string): Add cbegin(), cend(), crbegin(), crend() in C++0x mode. 2009-08-25 22:29:08 +00:00
multiset basic_string.h (basic_string): Add cbegin(), cend(), crbegin(), crend() in C++0x mode. 2009-08-25 22:29:08 +00:00
priority_queue basic_string.h (basic_string): Add cbegin(), cend(), crbegin(), crend() in C++0x mode. 2009-08-25 22:29:08 +00:00
queue basic_string.h (basic_string): Add cbegin(), cend(), crbegin(), crend() in C++0x mode. 2009-08-25 22:29:08 +00:00
set basic_string.h (basic_string): Add cbegin(), cend(), crbegin(), crend() in C++0x mode. 2009-08-25 22:29:08 +00:00
stack basic_string.h (basic_string): Add cbegin(), cend(), crbegin(), crend() in C++0x mode. 2009-08-25 22:29:08 +00:00
unordered_map merge branch profile-stdlib 2009-10-03 02:17:41 +00:00
unordered_multimap basic_string.h (basic_string): Add cbegin(), cend(), crbegin(), crend() in C++0x mode. 2009-08-25 22:29:08 +00:00
unordered_multiset basic_string.h (basic_string): Add cbegin(), cend(), crbegin(), crend() in C++0x mode. 2009-08-25 22:29:08 +00:00
unordered_set basic_string.h (basic_string): Add cbegin(), cend(), crbegin(), crend() in C++0x mode. 2009-08-25 22:29:08 +00:00
vector merge branch profile-stdlib 2009-10-03 02:17:41 +00:00