Public Types |
| typedef _Tp | value_type |
| typedef value_type * | pointer |
| typedef const value_type * | const_pointer |
| typedef value_type & | reference |
| typedef const value_type & | const_reference |
| typedef size_t | size_type |
| typedef ptrdiff_t | difference_type |
| typedef _Base::allocator_type | allocator_type |
| typedef bidirectional_iterator_tag | _Iterator_category |
typedef _STLP_PRIV
_List_iterator< _Tp,
_Nonconst_traits< _Tp > > | iterator |
typedef _STLP_PRIV
_List_iterator< _Tp,
_Const_traits< _Tp > > | const_iterator |
typedef _STLP_PRIV _DBG_iter
< _Base, _STLP_PRIV _DbgTraits
< _Nonconst_traits< value_type > > > | iterator |
typedef _STLP_PRIV _DBG_iter
< _Base, _STLP_PRIV _DbgTraits
< _Const_traits< value_type > > > | const_iterator |
| typedef _Tp | value_type |
| typedef value_type * | pointer |
| typedef const value_type * | const_pointer |
| typedef value_type & | reference |
| typedef const value_type & | const_reference |
| typedef size_t | size_type |
| typedef ptrdiff_t | difference_type |
typedef _Alloc_traits
< value_type, _Alloc >
::allocator_type | allocator_type |
| typedef bidirectional_iterator_tag | _Iterator_category |
typedef _STLP_PRIV
_List_iterator< value_type,
_Nonconst_traits< value_type > > | iterator |
typedef _STLP_PRIV
_List_iterator< value_type,
_Const_traits< value_type > > | const_iterator |
Public Member Functions |
| | list (size_type __n, const_reference __val=_STLP_DEFAULT_CONSTRUCTED(value_type), const allocator_type &__a=allocator_type()) |
| | list (const value_type *__first, const value_type *__last, const allocator_type &__a=allocator_type()) |
| | list (const_iterator __first, const_iterator __last, const allocator_type &__a=allocator_type()) |
| | list (const allocator_type &__a=allocator_type()) |
| | list (const _Self &__x) |
| | list (__move_source< _Self > src) |
| | ~list () |
| _Self & | operator= (const _Self &__x) |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| reverse_iterator | rbegin () |
| const_reverse_iterator | rbegin () const |
| reverse_iterator | rend () |
| const_reverse_iterator | rend () const |
| size_type | size () const |
| size_type | max_size () const |
| reference | front () |
| const_reference | front () const |
| reference | back () |
| const_reference | back () const |
| void | swap (_Self &__x) |
| iterator | insert (iterator __pos, const_reference __x=value_type()) |
| void | insert (iterator __pos, const value_type *__first, const value_type *__last) |
| void | insert (iterator __pos, const_iterator __first, const_iterator __last) |
| void | insert (iterator __pos, size_type __n, const_reference __x) |
| void | push_front (const_reference __x) |
| void | push_back (const_reference __x) |
| iterator | erase (iterator __pos) |
| iterator | erase (iterator __first, iterator __last) |
| void | resize (size_type __new_size, const_reference __x=value_type()) |
| void | pop_front () |
| void | pop_back () |
| void | assign (size_type __n, const_reference __val) |
| void | _M_fill_assign (size_type __n, const_reference __val) |
| void | assign (const value_type *__first2, const value_type *__last2) |
| void | assign (const_iterator __first2, const_iterator __last2) |
| void | splice (iterator __pos, _Self &__x) |
| void | splice (iterator __pos, _Self &__x, iterator __i) |
| void | splice (iterator __pos, _Self &__x, iterator __first, iterator __last) |
| void | remove (const_reference __val) |
| void | unique () |
| void | merge (_Self &__x) |
| void | reverse () |
| void | sort () |
| | list (const allocator_type &__a=allocator_type()) |
| | list (size_type __n, const _Tp &__x=_Tp(), const allocator_type &__a=allocator_type()) |
| | list (__move_source< _Self > src) |
| | list (const value_type *__first, const value_type *__last, const allocator_type &__a=allocator_type()) |
| | list (const_iterator __first, const_iterator __last, const allocator_type &__a=allocator_type()) |
| | list (const _Self &__x) |
| _Self & | operator= (const _Self &__x) |
| allocator_type | get_allocator () const |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| reverse_iterator | rbegin () |
| reverse_iterator | rend () |
| const_reverse_iterator | rbegin () const |
| const_reverse_iterator | rend () const |
| size_type | size () const |
| size_type | max_size () const |
| bool | empty () const |
| reference | front () |
| const_reference | front () const |
| reference | back () |
| const_reference | back () const |
| void | swap (_Self &__x) |
| iterator | insert (iterator __pos, const _Tp &__x=_Tp()) |
| void | insert (iterator __pos, const _Tp *__first, const _Tp *__last) |
| void | insert (iterator __pos, const_iterator __first, const_iterator __last) |
| void | insert (iterator __pos, iterator __first, iterator __last) |
| void | insert (iterator __pos, size_type __n, const _Tp &__x) |
| void | push_back (const_reference __x) |
| void | pop_back () |
| void | push_front (const_reference __x) |
| void | pop_front () |
| iterator | erase (iterator __pos) |
| iterator | erase (iterator __first, iterator __last) |
| void | resize (size_type __new_size, const _Tp &__x=_Tp()) |
| void | assign (const _Tp *__first, const _Tp *__last) |
| void | assign (iterator __first, iterator __last) |
| void | assign (const_iterator __first, const_iterator __last) |
| void | assign (size_type __n, const _Tp &__val) |
| void | remove (const _Tp &__x) |
| void | clear () |
| void | splice (iterator __pos, _Self &__x) |
| void | splice (iterator __pos, _Self &__x, iterator __i) |
| void | splice (iterator __pos, _Self &__x, iterator __first, iterator __last) |
| void | merge (_Self &__x) |
| void | reverse () |
| void | unique () |
| void | sort () |
| allocator_type | get_allocator () const |
| | list (const allocator_type &__a=allocator_type()) |
| | list (size_type __n, const value_type &__val=_STLP_DEFAULT_CONSTRUCTED(value_type), const allocator_type &__a=allocator_type()) |
| | list (const value_type *__first, const value_type *__last, const allocator_type &__a=allocator_type()) |
| | list (const_iterator __first, const_iterator __last, const allocator_type &__a=allocator_type()) |
| | list (const _Self &__x) |
| | list (__move_source< _Self > src) |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| reverse_iterator | rbegin () |
| const_reverse_iterator | rbegin () const |
| reverse_iterator | rend () |
| const_reverse_iterator | rend () const |
| bool | empty () const |
| size_type | size () const |
| size_type | max_size () const |
| reference | front () |
| const_reference | front () const |
| reference | back () |
| const_reference | back () const |
| void | swap (_Self &__x) |
| void | clear () |
| iterator | insert (iterator __pos, const_reference __x=_STLP_DEFAULT_CONSTRUCTED(value_type)) |
| void | insert (iterator __pos, const value_type *__first, const value_type *__last) |
| void | insert (iterator __pos, const_iterator __first, const_iterator __last) |
| void | insert (iterator __pos, size_type __n, const value_type &__x) |
| void | push_front (const value_type &__x) |
| void | push_back (const value_type &__x) |
| iterator | erase (iterator __pos) |
| iterator | erase (iterator __first, iterator __last) |
| void | resize (size_type __new_size, const value_type &__x=_STLP_DEFAULT_CONSTRUCTED(value_type)) |
| void | pop_front () |
| void | pop_back () |
| _Self & | operator= (const _Self &__x) |
| void | assign (size_type __n, const value_type &__val) |
| void | assign (const value_type *__first, const value_type *__last) |
| void | assign (const_iterator __first, const_iterator __last) |
| void | splice (iterator __pos, _Self &__x) |
| void | splice (iterator __pos, _Self &__x, iterator __i) |
| void | splice (iterator __pos, _Self &__x, iterator __first, iterator __last) |
| void | remove (const_reference __val) |
| void | unique () |
| void | merge (_Self &__x) |
| void | reverse () |
| void | sort () |
Data Fields |
| | _STLP_DECLARE_BIDIRECTIONAL_REVERSE_ITERATORS |
| struct list * | next |
| struct list * | prev |
Protected Member Functions |
| _Node_base * | _M_create_node (const_reference __x=value_type()) |
Private Types |
typedef _STLP_PRIV _List_base
< _Tp, _Alloc > | _Base |
| typedef list< _Tp, _Alloc > | _Self |
typedef _STLP_PRIV _List_node
< _Tp > | _Node |
| typedef _STLP_PRIV _List_node_base | _Node_base |
| typedef _STLP_NON_DBG_LIST | _Base |
| typedef list< _Tp, _Alloc > | _Self |
typedef _STLP_PRIV
__construct_checker
< _STLP_NON_DBG_LIST > | _ConstructCheck |
| typedef _Base::iterator | _Base_iterator |
typedef _STLP_TYPENAME
_STLP_PRIV _StorageType< _Tp >
::_Type | _StorageType |
typedef _Alloc_traits
< _StorageType, _Alloc >
::allocator_type | _StorageTypeAlloc |
typedef _STLP_PRIV LIST_IMPL
< _StorageType,
_StorageTypeAlloc > | _Base |
| typedef _Base::iterator | _BaseIte |
| typedef _Base::const_iterator | _BaseConstIte |
typedef _STLP_PRIV _CastTraits
< _StorageType, _Tp > | cast_traits |
| typedef list< _Tp, _Alloc > | _Self |
Private Member Functions |
| void | _M_swap_aux (_Self &__x) |
| void | _M_insert (iterator __pos, const value_type *__first, const value_type *__last) |
| void | _M_insert (iterator __pos, const_iterator __first, const_iterator __last) |
| void | _M_fill_insert (iterator __pos, size_type __n, const_reference __x) |
| void | _Invalidate_iterator (const iterator &__it) |
| void | _Invalidate_iterators (const iterator &__first, const iterator &__last) |
Private Attributes |
| _Base | _M_non_dbg_impl |
| _STLP_PRIV __owned_list | _M_iter_list |
| _Base | _M_impl |
template<class _Tp, class _Alloc>
struct list< _Tp, _Alloc >
Definition at line 253 of file _list.h.