gcc/libstdc++-v3/testsuite/23_containers
Paolo Carlini 97ffcedf40 revert: forward_list.h: Support non-standard pointer types
2010-03-15  Paolo Carlini  <paolo.carlini@oracle.com>

	Revert:
	2008-11-11  Bob Walters  <bob.s.walters@gmail.com>

	* include/bits/forward_list.h: Support non-standard pointer types
	(_Fwd_list_node_base): Add _Alloc template parameter.
	(_Fwd_list_node<>): Likewise.
	(_Fwd_list_iterator<>): Likewise.
	(_Fwd_list_const_iterator<>): Likewise.
	(_Fwd_list_node_base::_M_next, _M_transfer_after, _M_reverse_after):
	Use _Alloc<_Tp>::pointer.
	(_Fwd_list_iterator<>::_M_node): Use _Node_base::_Pointer.
	(_Fwd_list_base<>::_M_get_node, _M_create_node, _M_create_node,
	_M_insert_after, _M_put_node, _M_erase_after): Likewise.
	(_Fwd_list_const_iterator<>::_M_node): use _Node_base::_Const_pointer.
	(forward_list<>): Use __static_pointer_cast in place of static_cast,
	and __const_pointer_cast in place of const_cast.
	* include/bits/forward_list.tcc
	(_Fwd_list_node<>::_M_sort_after): Using _Pointer typedefs in place
	of standard pointers, __static_pointer_cast in place of static_cast.
	(_Fwd_list_base<>::_Fwd_list_base, _M_insert_after, _M_erase_after):
	Likewise.
	(forward_list<>::_M_initialize_dispatch, _M_fill_initialize,
	splice_after, remove, remove_if, merge): Likewise.
	* testsuite/23_containers/forward_list/ext_pointer/modifiers/1.cc: New.
	* testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
	Likewise.
	* testsuite/23_containers/forward_list/ext_pointer/modifiers/3.cc:
	Likewise.
	* testsuite/23_containers/forward_list/ext_pointer/modifiers/4.cc:
	Likewise.
	* testsuite/23_containers/forward_list/ext_pointer/modifiers/5.cc:
	Likewise.
	* testsuite/23_containers/forward_list/ext_pointer/operations/1.cc:
	Likewise.
	* testsuite/23_containers/forward_list/ext_pointer/operations/2.cc:
	Likewise.
	* testsuite/23_containers/forward_list/ext_pointer/operations/3.cc:
	Likewise.
	* testsuite/23_containers/forward_list/ext_pointer/operations/4.cc:
	Likewise.
	* testsuite/23_containers/forward_list/ext_pointer/operations/5.cc:
	Likewise.
	* testsuite/23_containers/forward_list/ext_pointer/operations/6.cc:
	Likewise.
	* testsuite/23_containers/forward_list/ext_pointer/operations/7.cc:
	Likewise.
	* testsuite/23_containers/forward_list/ext_pointer/requirements/1.cc:
	Likewise.
	* testsuite/23_containers/forward_list/ext_pointer/requirements/
	explicit_instantiation/1.cc: Likewise.
	* testsuite/23_containers/forward_list/ext_pointer/requirements/
	explicit_instantiation/3.cc: Likewise.
	* testsuite/23_containers/forward_list/ext_pointer/1.cc: Likewise.

From-SVN: r157462
2010-03-15 17:02:16 +00:00
..
array/requirements generation_prohibited.c: Remove, swap can indeed throw (DR 774). 2010-01-31 22:52:25 +00:00
bitset stl_bvector.h (hash<vector<bool, _Alloc>>): Add. 2010-03-02 21:11:19 +00:00
deque testsuite_container_traits.h (traits_base): Add has_throwing_erase trait. 2010-03-05 01:51:56 +00:00
forward_list revert: forward_list.h: Support non-standard pointer types 2010-03-15 17:02:16 +00:00
headers
list
map hashtable.h: Fold in include/tr1_impl/hashtable.h for C++0x use. 2010-02-10 16:09:42 +00:00
multimap re PR c++/42346 (darwin instantiation vs. optimization oddity) 2010-01-27 20:12:41 +00:00
multiset
priority_queue
queue
set hashtable.h: Fold in include/tr1_impl/hashtable.h for C++0x use. 2010-02-10 16:09:42 +00:00
stack
unordered_map hashtable_policy.h (_Rehash_base<_Prime_rehash_policy, [...]): Add, per DR 1189. 2010-03-10 23:49:28 +00:00
unordered_multimap hashtable_policy.h (_Rehash_base<_Prime_rehash_policy, [...]): Add, per DR 1189. 2010-03-10 23:49:28 +00:00
unordered_multiset hashtable_policy.h (_Rehash_base<_Prime_rehash_policy, [...]): Add, per DR 1189. 2010-03-10 23:49:28 +00:00
unordered_set hashtable_policy.h (_Rehash_base<_Prime_rehash_policy, [...]): Add, per DR 1189. 2010-03-10 23:49:28 +00:00
vector testsuite_container_traits.h (traits_base): Add has_throwing_erase trait. 2010-03-05 01:51:56 +00:00