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
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| algorithmfwd.h | Loading commit data... | |
| allocator.h | Loading commit data... | |
| basic_ios.h | Loading commit data... | |
| basic_ios.tcc | Loading commit data... | |
| basic_string.h | Loading commit data... | |
| basic_string.tcc | Loading commit data... | |
| boost_concept_check.h | Loading commit data... | |
| c++config | Loading commit data... | |
| char_traits.h | Loading commit data... | |
| codecvt.h | Loading commit data... | |
| concept_check.h | Loading commit data... | |
| cpp_type_traits.h | Loading commit data... | |
| deque.tcc | Loading commit data... | |
| forward_list.h | Loading commit data... | |
| forward_list.tcc | Loading commit data... | |
| fstream.tcc | Loading commit data... | |
| functexcept.h | Loading commit data... | |
| functional_hash.h | Loading commit data... | |
| gslice.h | Loading commit data... | |
| gslice_array.h | Loading commit data... | |
| hashtable.h | Loading commit data... | |
| indirect_array.h | Loading commit data... | |
| ios_base.h | Loading commit data... | |
| istream.tcc | Loading commit data... | |
| list.tcc | Loading commit data... | |
| locale_classes.h | Loading commit data... | |
| locale_classes.tcc | Loading commit data... | |
| locale_facets.h | Loading commit data... | |
| locale_facets.tcc | Loading commit data... | |
| locale_facets_nonio.h | Loading commit data... | |
| locale_facets_nonio.tcc | Loading commit data... | |
| localefwd.h | Loading commit data... | |
| mask_array.h | Loading commit data... | |
| move.h | Loading commit data... | |
| ostream.tcc | Loading commit data... | |
| ostream_insert.h | Loading commit data... | |
| postypes.h | Loading commit data... | |
| shared_ptr.h | Loading commit data... | |
| slice_array.h | Loading commit data... | |
| sstream.tcc | Loading commit data... | |
| stl_algo.h | Loading commit data... | |
| stl_algobase.h | Loading commit data... | |
| stl_bvector.h | Loading commit data... | |
| stl_construct.h | Loading commit data... | |
| stl_deque.h | Loading commit data... | |
| stl_function.h | Loading commit data... | |
| stl_heap.h | Loading commit data... | |
| stl_iterator.h | Loading commit data... | |
| stl_iterator_base_funcs.h | Loading commit data... | |
| stl_iterator_base_types.h | Loading commit data... | |
| stl_list.h | Loading commit data... | |
| stl_map.h | Loading commit data... | |
| stl_multimap.h | Loading commit data... | |
| stl_multiset.h | Loading commit data... | |
| stl_numeric.h | Loading commit data... | |
| stl_pair.h | Loading commit data... | |
| stl_queue.h | Loading commit data... | |
| stl_raw_storage_iter.h | Loading commit data... | |
| stl_relops.h | Loading commit data... | |
| stl_set.h | Loading commit data... | |
| stl_stack.h | Loading commit data... | |
| stl_tempbuf.h | Loading commit data... | |
| stl_tree.h | Loading commit data... | |
| stl_uninitialized.h | Loading commit data... | |
| stl_vector.h | Loading commit data... | |
| stream_iterator.h | Loading commit data... | |
| streambuf.tcc | Loading commit data... | |
| streambuf_iterator.h | Loading commit data... | |
| stringfwd.h | Loading commit data... | |
| unique_ptr.h | Loading commit data... | |
| valarray_after.h | Loading commit data... | |
| valarray_array.h | Loading commit data... | |
| valarray_array.tcc | Loading commit data... | |
| valarray_before.h | Loading commit data... | |
| vector.tcc | Loading commit data... |