gcc/libstdc++-v3/testsuite/23_containers/set
Paolo Carlini 1f9c69a9a3 re PR libstdc++/29134 (Has there been a serious attempt to define the max_size() member functions?)
2006-09-20  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/29134
	* include/bits/stl_list.h (list<>::max_size): Forward to allocator'
	max_size.
	* include/bits/stl_vector.h (vector<>::max_size): Likewise.
	* include/bits/stl_deque.h (deque<>::max_size): Likewise.
	* include/bits/stl_tree.h (_Rb_tree<>::max_size): Likewise.
	* include/tr1/hashtable (_Hashtable<>::max_size): Likewise.
	* testsuite/23_containers/vector/capacity/29134.cc: Add.
	* testsuite/23_containers/deque/capacity/29134.cc: Likewise.
	* testsuite/23_containers/list/capacity/29134.cc: Likewise.
	* testsuite/23_containers/set/capacity/29134.cc: Likewise.
	* testsuite/23_containers/map/capacity/29134.cc: Likewise.
	* testsuite/23_containers/multiset/capacity/29134.cc: Likewise.
	* testsuite/23_containers/multimap/capacity/29134.cc: Likewise.	
	* testsuite/tr1/6_containers/unordered/capacity/29134-set.cc: Likewise.
	* testsuite/tr1/6_containers/unordered/capacity/29134-map.cc: Likewise.
	* testsuite/tr1/6_containers/unordered/capacity/29134-multiset.cc:
	Likewise.
	* testsuite/tr1/6_containers/unordered/capacity/29134-multimap.cc:
	Likewise.

	* include/bits/deque.tcc (deque<>::_M_new_elements_at_front,
	deque<>::_M_new_elements_at_back): Check for length errors.
	* testsuite/23_containers/deque/capacity/29134-2.cc: New.
	* testsuite/23_containers/vector/capacity/29134-2.cc: Likewise.

	* include/tr1/hashtable (_Hashtable<>::_M_get_Value_allocator): Add.
	(_Hashtable<>::_M_allocate_node, _M_deallocate_node): Use it.
	* testsuite/tr1/6_containers/unordered/instantiate/set.cc: Add test.
	* testsuite/tr1/6_containers/unordered/instantiate/map.cc: Likewise.
	* testsuite/tr1/6_containers/unordered/instantiate/multiset.cc:
	Likewise.
	* testsuite/tr1/6_containers/unordered/instantiate/multimap.cc:
	Likewise.

From-SVN: r117099
2006-09-21 00:11:52 +00:00
..
capacity re PR libstdc++/29134 (Has there been a serious attempt to define the max_size() member functions?) 2006-09-21 00:11:52 +00:00
explicit_instantiation 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 PR libstdc++/22102 (insert as close to hint as possible) 2006-01-08 17:34:32 +00:00
operators stl_list.h (_List_base<>::_M_get_Node_allocator): Add. 2006-01-03 13:19:23 +00:00
1.cc All files: Update FSF address. 2005-08-17 02:28:44 +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
23781.cc re PR libstdc++/23781 (Implicit conversion from NULL to list<T>::iterator) 2005-09-11 09:48:41 +00:00
check_construct_destroy.cc All files: Update FSF address. 2005-08-17 02:28:44 +00:00