gcc/libstdc++-v3/testsuite/23_containers/list
Paolo Carlini 0e83f45aa6 re PR libstdc++/49561 ([C++0x] std::list::size complexity)
2011-10-04  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/49561
	* include/bits/stl_list.h (_List_base<>::_List_impl::_M_size):
	Add in C++0x mode.
	(_List_base<>::_List_impl, _List_base<>::_M_get_node,
	_List_base<>::_M_put_node, _List_base<>::_List_base(_List_base&&),
	list<>::size, list<>::swap, list<>::splice): Use it.
	(operator==(const list<>&, const list<>&)): Rewrite in C++0x mode.
	* include/bits/list.tcc (list<>::erase): Likewise.
	(list<>::merge): Adjust in C++0x mode.
	* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
	Adjust dg-error line number.
	* testsuite/23_containers/list/requirements/dr438/insert_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.

From-SVN: r179528
2011-10-04 22:19:44 +00:00
..
capacity PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
cons hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)): Use std::move on the allocator, use noexcept. 2011-06-01 14:16:19 +00:00
debug libstdc++.exp ([check_v3_target_debug_mode]): Fix so that it really detects when debug mode is activated. 2010-09-03 18:10:46 +00:00
modifiers PR libstdc++/21772 part 1 2009-12-16 05:16:46 +00:00
operations list: Implement DR 1133 here too. 2010-01-04 01:58:21 +00:00
requirements re PR libstdc++/49561 ([C++0x] std::list::size complexity) 2011-10-04 22:19:44 +00:00
14340.cc list: Implement DR 1133 here too. 2010-01-04 01:58:21 +00:00
18604.cc list: Implement DR 1133 here too. 2010-01-04 01:58:21 +00:00
23781_neg.cc testsuite_iterators.h: Guard move.h includes. 2010-12-16 22:02:38 +00:00
check_construct_destroy.cc check_construct_destroy.h: New. 2009-06-18 01:40:44 +00:00
check_construct_destroy.h check_construct_destroy.h: New. 2009-06-18 01:40:44 +00:00
init-list.cc check_construct_destroy.h: New. 2009-06-18 01:40:44 +00:00
init-list.h check_construct_destroy.h: New. 2009-06-18 01:40:44 +00:00
pthread1.cc testsuite_iterators.h: Don't include <cstddef>, don't use NULL, use std::size_t and std::ptrdiff_t. 2010-06-03 23:11:46 +00:00
pthread5.cc order_statistics_imp.hpp: Avoid -Wall warnings. 2010-06-08 00:45:02 +00:00
range_access.cc [multiple changes] 2010-07-27 17:27:06 +00:00