gcc/libstdc++-v3/include
Bob Walters 1b32e4e506 forward_list.h: Support non-standard pointer types
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: r141765
2008-11-11 12:16:57 +00:00
..
backward backward_warning.h: Fix typo. 2008-06-30 10:48:48 +00:00
bits forward_list.h: Support non-standard pointer types 2008-11-11 12:16:57 +00:00
c
c_compatibility [multiple changes] 2008-04-10 20:26:45 +00:00
c_global * include/c_global/climits, include/tr1/climits: Add parentheses. 2008-06-21 17:04:40 +01:00
c_std tuple: Ifndef __GXX_EXPERIMENTAL_CXX0X__ just error out. 2008-05-26 02:19:57 +00:00
debug PR libstdc++/30085 (again) 2008-09-30 13:48:55 +00:00
ext extptr_allocator.h: Minor tweaks. 2008-11-11 12:15:59 +00:00
parallel re PR libstdc++/37470 (parallel/base.h log2 conflicts with math.h) 2008-09-19 11:37:16 +00:00
precompiled pointer.h: Add experimental support for non-standard pointer types in containers via the... 2008-11-07 15:26:25 +00:00
std system_error (is_error_code_enum): Specialize for errc. 2008-10-22 15:27:44 +00:00
tr1 re PR libstdc++/36962 ([C++0x] Add constructors / assignment operators from unique_ptr to shared_ptr) 2008-09-04 23:33:10 +01:00
tr1_impl re PR libstdc++/38017 (30_threads/thread/cons/X.cc) 2008-11-05 09:36:35 +00:00
Makefile.am pointer.h: Add experimental support for non-standard pointer types in containers via the... 2008-11-07 15:26:25 +00:00
Makefile.in pointer.h: Add experimental support for non-standard pointer types in containers via the... 2008-11-07 15:26:25 +00:00