gcc/libstdc++-v3/testsuite/23_containers/vector
Paolo Carlini 4dc3e453c8 stl_deque.h (deque<>::push_back(_Args&&...), [...]): Remove.
2008-06-13  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/bits/stl_deque.h (deque<>::push_back(_Args&&...),
	deque<>::push_front(_Args&&...)): Remove.
	(deque<>::push_back(value_type&&),
	deque<>::push_front(value_type&&)): Add.
	(deque<>::push_back(const value_type&),
	deque<>::push_front(const value_type&)): Add back.
	(deque<>::emplace_back(_Args&&...),
	deque<>::emplace_front(_Args&&...)): Declare...
	* include/bits/deque.tcc: ... and define.	
	* include/bits/stl_list.h (list<>::push_back(_Args&&...),
	list<>::push_front(_Args&&...)): Remove.
	(list<>::push_back(value_type&&), list<>::push_front(value_type&&),
	list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
	Add.
	(list<>::push_back(const value_type&),
	list<>::push_front(const value_type&)): Add back.
	* include/bits/stl_vector.h (vector<>::push_back(_Args&&...)): Remove.
	(vector<>::push_back(value_type&&)): Add.
	(vector<>::push_back(const value_type&)): Add back.
	(vector<>::emplace_back(_Args&&...)): Declare...
	* include/bits/vector.tcc: ... and define.
	* include/bits/stl_queue.h (queue<>::push(_Args&&...),
	priority_queue<>::push(_Args&&...)): Remove.
	(queue<>::push(value_type&&), queue<>::emplace(_Args&&...),
	priority_queue<>::push(value_type&&),
	priority_queue<>::emplace(_Args&&...)): Add.
	(queue<>::push(const value_type&),
	priority_queue<>::push(const value_type&)): Add back.
	* include/bits/stl_stack.h (stack<>::push(_Args&&...)): Remove.
	(stack<>::push(value_type&&), stack<>::emplace(_Args&&...)): Add.
	(stack<>::push(const value_type&)): Add back.
	* include/debug/deque (deque<>::push_back(_Args&&...),
	deque<>::push_front(_Args&&...)): Remove.
	(deque<>::push_back(value_type&&), deque<>::push_front(value_type&&),
	deque<>::emplace_back(_Args&&...), deque<>::emplace_front(_Args&&...)):
	Add.
	(deque<>::push_back(const value_type&),
	deque<>::push_front(const value_type&)): Add back.
	* include/debug/list (list<>::push_back(_Args&&...),
	list<>::push_front(_Args&&...)): Remove.
	(list<>::push_back(value_type&&), list<>::push_front(value_type&&),
	list<>::emplace_back(_Args&&...), list<>::emplace_front(_Args&&...)):
	Add.
	(list<>::push_back(const value_type&),
	list<>::push_front(const value_type&)): Add back.
	* include/debug/vector (vector<>::push_back(_Args&&...)): Remove.
	(vector<>::push_back(value_type&&),
	vector<>::emplace_back(_Args&&...)): Add.
	(vector<>::push_back(const value_type&)): Add back.
	* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
	Adjust dg-error line numbers.
	* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc:
	Likewise.
	* 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/list/requirements/dr438/assign_neg.cc:
	Adjust dg-error line numbers.
	* 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.
	* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
	Adjust dg-error line numbers.
	* testsuite/23_containers/vector/requirements/dr438/insert_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.

From-SVN: r136750
2008-06-13 12:03:13 +00:00
..
bool [multiple changes] 2007-12-10 13:53:10 +00:00
capacity stl_algobase.h (_GLIBCXX_MOVE3, [...]): Add. 2007-10-29 01:59:49 +00:00
cons stl_vector.h (vector<>::push_back<>(_Args...), [...]): Add. 2007-11-05 19:46:07 +00:00
data_access PR libstdc++/23578 (DR 464 [Ready]) 2005-08-29 16:11:19 +00:00
element_access All files: Update FSF address. 2005-08-17 02:28:44 +00:00
invalidation re PR libstdc++/26142 (global debug namespace clashes everywhere) 2006-02-09 04:31:38 +00:00
modifiers vector.tcc (vector<>::_M_insert_aux): In C++0x mode, avoid a memory leak if the first __uninitialized_move_a throws. 2008-06-02 12:22:53 +00:00
requirements stl_deque.h (deque<>::push_back(_Args&&...), [...]): Remove. 2008-06-13 12:03:13 +00:00
resize vector.tcc (vector<>::_M_insert_aux): In C++0x mode, avoid a memory leak if the first __uninitialized_move_a throws. 2008-06-02 12:22:53 +00:00
types re PR libstdc++/24617 (vector vs __erase_at_end) 2005-12-08 11:32:37 +00:00
14340.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
18604.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00
26412-1.cc c++config: Simplify debug namespaces. 2006-02-22 00:57:24 +00:00
26412-2.cc c++config: Simplify debug namespaces. 2006-02-22 00:57:24 +00:00
check_construct_destroy.cc testsuite_allocator.h (allocation_tracker): To tracker_allocator_counter. 2006-10-03 17:01:57 +00:00
debug_mode_requires_reallocation-1.cc vector (vector<>::_M_requires_reallocation): Just use this->capacity(). 2008-05-12 10:15:34 +00:00
debug_mode_requires_reallocation-2.cc vector (vector<>::_M_requires_reallocation): Just use this->capacity(). 2008-05-12 10:15:34 +00:00
moveable.cc moveable.cc: Remove dg-require-rvalref. 2007-10-06 02:33:12 +00:00
zero_sized_allocations.cc stl_vector.h (_Vector_base<>::_M_allocate): Do not call _M_impl.allocate when __n == 0. 2007-09-07 01:37:31 +00:00