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 forward_iterator_tag | _Iterator_category |
typedef _STLP_PRIV
_Slist_iterator< _Tp,
_Nonconst_traits< _Tp > > | iterator |
typedef _STLP_PRIV
_Slist_iterator< _Tp,
_Const_traits< _Tp > > | const_iterator |
| typedef _Base::allocator_type | allocator_type |
typedef _STLP_PRIV _DBG_iter
< _Base, _STLP_PRIV
_SlistDbgTraits
< _Nonconst_traits< value_type > > > | iterator |
typedef _STLP_PRIV _DBG_iter
< _Base, _STLP_PRIV
_SlistDbgTraits< _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 forward_iterator_tag | _Iterator_category |
typedef _STLP_PRIV
_Slist_iterator< value_type,
_Nonconst_traits< value_type > > | iterator |
typedef _STLP_PRIV
_Slist_iterator< value_type,
_Const_traits< value_type > > | const_iterator |
typedef _Alloc_traits
< value_type, _Alloc >
::allocator_type | allocator_type |
Public Member Functions |
| allocator_type | get_allocator () const |
| | slist (const allocator_type &__a=allocator_type()) |
| | slist (size_type __n, const value_type &__x=_STLP_DEFAULT_CONSTRUCTED(_Tp), const allocator_type &__a=allocator_type()) |
| | slist (const_iterator __first, const_iterator __last, const allocator_type &__a=allocator_type()) |
| | slist (const value_type *__first, const value_type *__last, const allocator_type &__a=allocator_type()) |
| | slist (const _Self &__x) |
| | slist (__move_source< _Self > src) |
| _Self & | operator= (const _Self &__x) |
| | ~slist () |
| void | assign (size_type __n, const _Tp &__val) |
| void | assign (const_pointer __first, const_pointer __last) |
| void | assign (const_iterator __first, const_iterator __last) |
| iterator | before_begin () |
| const_iterator | before_begin () const |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| size_type | size () const |
| size_type | max_size () const |
| bool | empty () const |
| void | swap (_Self &__x) |
| reference | front () |
| const_reference | front () const |
| void | push_front (const value_type &__x=_Tp()) |
| void | pop_front () |
| iterator | previous (const_iterator __pos) |
| const_iterator | previous (const_iterator __pos) const |
| iterator | insert_after (iterator __pos, const value_type &__x=_Tp()) |
| void | insert_after (iterator __pos, size_type __n, const value_type &__x) |
| void | insert_after (iterator __pos, const value_type *__first, const value_type *__last) |
| void | insert_after (iterator __pos, const_iterator __first, const_iterator __last) |
| iterator | insert (iterator __pos, const value_type &__x=_Tp()) |
| void | insert (iterator __pos, size_type __n, const value_type &__x) |
| void | insert (iterator __pos, const value_type *__first, const value_type *__last) |
| void | insert (iterator __pos, const_iterator __first, const_iterator __last) |
| iterator | erase_after (iterator __pos) |
| iterator | erase_after (iterator __before_first, iterator __last) |
| iterator | erase (iterator __pos) |
| iterator | erase (iterator __first, iterator __last) |
| void | resize (size_type new_size, const value_type &__x=_Tp()) |
| void | clear () |
| void | splice_after (iterator __pos, _Self &__x, iterator __before_first, iterator __before_last) |
| void | splice_after (iterator __pos, _Self &__x, iterator __prev) |
| void | splice_after (iterator __pos, _Self &__x) |
| 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 | reverse () |
| void | remove (const _Tp &__val) |
| void | unique () |
| void | merge (_Self &__x) |
| void | sort () |
| allocator_type | get_allocator () const |
| | slist (const allocator_type &__a=allocator_type()) |
| | slist (size_type __n, const value_type &__x=_Tp(), const allocator_type &__a=allocator_type()) |
| | slist (__move_source< _Self > src) |
| | slist (const value_type *__first, const value_type *__last, const allocator_type &__a=allocator_type()) |
| | slist (const_iterator __first, const_iterator __last, const allocator_type &__a=allocator_type()) |
| | slist (const _Self &__x) |
| _Self & | operator= (const _Self &__x) |
| | ~slist () |
| void | assign (size_type __n, const value_type &__val) |
| iterator | before_begin () |
| const_iterator | before_begin () const |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| bool | empty () const |
| size_type | size () const |
| size_type | max_size () const |
| void | swap (_Self &__x) |
| reference | front () |
| const_reference | front () const |
| void | push_front (const_reference __x) |
| void | pop_front () |
| iterator | previous (const_iterator __pos) |
| const_iterator | previous (const_iterator __pos) const |
| iterator | insert_after (iterator __pos, const value_type &__x=_Tp()) |
| void | insert_after (iterator __pos, size_type __n, const value_type &__x) |
| void | assign (const_iterator __first, const_iterator __last) |
| void | assign (const value_type *__first, const value_type *__last) |
| void | insert_after (iterator __pos, const_iterator __first, const_iterator __last) |
| void | insert_after (iterator __pos, const value_type *__first, const value_type *__last) |
| void | insert (iterator __pos, const_iterator __first, const_iterator __last) |
| void | insert (iterator __pos, const value_type *__first, const value_type *__last) |
| iterator | insert (iterator __pos, const value_type &__x=_Tp()) |
| void | insert (iterator __pos, size_type __n, const value_type &__x) |
| iterator | erase_after (iterator __pos) |
| iterator | erase_after (iterator __before_first, iterator __last) |
| iterator | erase (iterator __pos) |
| iterator | erase (iterator __first, iterator __last) |
| void | resize (size_type __new_size, const value_type &__x=_Tp()) |
| void | clear () |
| void | splice_after (iterator __pos, _Self &__x) |
| void | splice_after (iterator __pos, _Self &__x, iterator __prev) |
| void | splice_after (iterator __pos, _Self &__x, iterator __before_first, iterator __before_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 | reverse () |
| void | remove (const value_type &__val) |
| void | unique () |
| void | merge (_Self &__x) |
| void | sort () |
| allocator_type | get_allocator () const |
| | slist (const allocator_type &__a=allocator_type()) |
| | slist (size_type __n, const value_type &__x=_STLP_DEFAULT_CONSTRUCTED(value_type), const allocator_type &__a=allocator_type()) |
| | slist (const_iterator __first, const_iterator __last, const allocator_type &__a=allocator_type()) |
| | slist (const value_type *__first, const value_type *__last, const allocator_type &__a=allocator_type()) |
| | slist (const _Self &__x) |
| | slist (__move_source< _Self > src) |
| _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) |
| iterator | before_begin () |
| const_iterator | before_begin () const |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| size_type | size () const |
| size_type | max_size () const |
| bool | empty () const |
| void | swap (_Self &__x) |
| reference | front () |
| const_reference | front () const |
| void | push_front (const value_type &__x=_STLP_DEFAULT_CONSTRUCTED(value_type)) |
| void | pop_front () |
| iterator | previous (const_iterator __pos) |
| const_iterator | previous (const_iterator __pos) const |
| iterator | insert_after (iterator __pos, const value_type &__x=_STLP_DEFAULT_CONSTRUCTED(value_type)) |
| void | insert_after (iterator __pos, size_type __n, const value_type &__x) |
| void | insert_after (iterator __pos, const_iterator __first, const_iterator __last) |
| void | insert_after (iterator __pos, const value_type *__first, const value_type *__last) |
| iterator | insert (iterator __pos, const value_type &__x=_STLP_DEFAULT_CONSTRUCTED(value_type)) |
| void | insert (iterator __pos, size_type __n, const value_type &__x) |
| void | insert (iterator __pos, const_iterator __first, const_iterator __last) |
| void | insert (iterator __pos, const value_type *__first, const value_type *__last) |
| iterator | erase_after (iterator __pos) |
| iterator | erase_after (iterator __before_first, iterator __last) |
| 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 | clear () |
| void | splice_after (iterator __pos, _Self &__x, iterator __before_first, iterator __before_last) |
| void | splice_after (iterator __pos, _Self &__x, iterator __prev) |
| void | splice_after (iterator __pos, _Self &__x) |
| 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 | reverse () |
| void | remove (const value_type &__val) |
| void | unique () |
| void | merge (_Self &__x) |
| void | sort () |
Private Types |
typedef _STLP_PRIV _Slist_base
< _Tp, _Alloc > | _Base |
| typedef slist< _Tp, _Alloc > | _Self |
typedef _STLP_PRIV _Slist_node
< _Tp > | _Node |
| typedef _STLP_PRIV _Slist_node_base | _Node_base |
| typedef _STLP_NON_DBG_SLIST | _Base |
| typedef slist< _Tp, _Alloc > | _Self |
typedef _STLP_PRIV
__construct_checker
< _STLP_NON_DBG_SLIST > | _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 SLIST_IMPL
< _StorageType,
_StorageTypeAlloc > | _Base |
| typedef _Base::iterator | _BaseIte |
| typedef _Base::const_iterator | _BaseConstIte |
| typedef slist< _Tp, _Alloc > | _Self |
typedef _STLP_PRIV _CastTraits
< _StorageType, _Tp > | cast_traits |
| typedef _STLP_PRIV _Slist_node_base | _Node_base |
Private Member Functions |
| _Node * | _M_create_node (const value_type &__x=_Tp()) |
| void | _M_fill_assign (size_type __n, const _Tp &__val) |
| _Node * | _M_insert_after (_Node_base *__pos, const value_type &__x=_Tp()) |
| void | _M_insert_after_fill (_Node_base *__pos, size_type __n, const value_type &__x) |
| void | _M_insert_after_range (_Node_base *__pos, const value_type *__first, const value_type *__last) |
| void | _M_insert_after_range (_Node_base *__pos, const_iterator __first, const_iterator __last) |
| void | _M_splice_after_range (_Node_base *__pos, const value_type *__first, const value_type *__last) |
| void | _M_splice_after_range (_Node_base *__pos, const_iterator __first, const_iterator __last) |
| void | _M_splice_range (_Node_base *__pos, const value_type *__first, const value_type *__last) |
| void | _M_splice_range (_Node_base *__pos, const_iterator __first, const_iterator __last) |
| 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>
class slist< _Tp, _Alloc >
Definition at line 220 of file _slist.h.