slist Class Reference

#include <stdapis/stlport/stl/_slist.h>

class slist : public _Slist_base

Inherits from

Public Member Type Definitions
typedef forward_iterator_tag _Iterator_category
typedef _Slist_iterator< _Tp, _Const_traits< _Tp > > const_iterator
typedefconst value_type * const_pointer
typedefconst value_type & const_reference
typedef ptrdiff_t difference_type
typedef _Slist_iterator< _Tp, _Nonconst_traits< _Tp > > iterator
typedef value_type * pointer
typedef value_type & reference
typedef size_t size_type
typedef_Tp value_type
Public Member Functions
slist(const allocator_type &)
slist(size_type, const value_type &, const allocator_type &)
slist(size_type)
slist(const_iterator, const_iterator, const allocator_type &)
slist(const value_type *, const value_type *, const allocator_type &)
slist(const _Self &)
slist()
void_M_fill_assign(size_type, const _Tp &)
voidassign(size_type, const _Tp &)
iterator before_begin()
const_iterator before_begin()
iterator begin()
const_iterator begin()
voidclear()
boolempty()
iterator end()
const_iterator end()
iterator erase(iterator)
iterator erase(iterator, iterator)
iterator erase_after(iterator)
iterator erase_after(iterator, iterator)
reference front()
const_reference front()
allocator_type get_allocator()
iterator insert(iterator, const value_type &)
iterator insert(iterator)
voidinsert(iterator, size_type, const value_type &)
voidinsert(iterator, const_iterator, const_iterator)
voidinsert(iterator, const value_type *, const value_type *)
iterator insert_after(iterator, const value_type &)
iterator insert_after(iterator)
voidinsert_after(iterator, size_type, const value_type &)
voidinsert_after(iterator, const_iterator, const_iterator)
voidinsert_after(iterator, const value_type *, const value_type *)
size_type max_size()
voidmerge(_Self &)
_Self &operator=(const _Self &)
voidpop_front()
iterator previous(const_iterator)
const_iterator previous(const_iterator)
voidpush_front(const value_type &)
voidpush_front()
voidremove(const _Tp &)
voidresize(size_type, const _Tp &)
voidresize(size_type)
voidreverse()
size_type size()
voidsort()
voidsplice(iterator, _Self &)
voidsplice(iterator, _Self &, iterator)
voidsplice(iterator, _Self &, iterator, iterator)
voidsplice_after(iterator, iterator, iterator)
voidsplice_after(iterator, iterator)
voidsplice_after(iterator, _Self &)
voidswap(_Self &)
voidunique()
Inherited Attributes
_Slist_base::_M_head
_Slist_base::allocator_type
Inherited Functions
_Slist_base::_M_erase_after(_Slist_node_base *)
_Slist_base::_M_erase_after(_Slist_node_base *,_Slist_node_base *)
_Slist_base::_STLP_FORCE_ALLOCATORS(_Tp,_Alloc)
_Slist_base::_Slist_base(const allocator_type &)
_Slist_base::~_Slist_base()
Inherited Type Definitions
_Slist_base::_M_node_allocator_type

Member Type Definition Documentation

Typedef _Iterator_category

typedef forward_iterator_tag _Iterator_category

Typedef const_iterator

typedef _Slist_iterator< _Tp, _Const_traits< _Tp > >const_iterator

Typedef const_pointer

typedef const value_type *const_pointer

Typedef const_reference

typedef const value_type &const_reference

Typedef difference_type

typedef ptrdiff_t difference_type

Typedef iterator

typedef _Slist_iterator< _Tp, _Nonconst_traits< _Tp > >iterator

Typedef pointer

typedef value_type *pointer

Typedef reference

typedef value_type &reference

Typedef size_type

typedef size_t size_type

Typedef value_type

typedef _Tpvalue_type

Constructor & Destructor Documentation

slist ( const allocator_type & )

__WORKAROUND_DBG_RENAME()slist(const allocator_type &__a =  allocator_type())[inline, explicit]

slist ( size_type, const value_type &, const allocator_type & )

__WORKAROUND_DBG_RENAME()slist(size_type__n,
const value_type &__x,
const allocator_type &__a =  allocator_type()
)[inline]

slist ( size_type )

__WORKAROUND_DBG_RENAME()slist(size_type__n)[inline, explicit]

slist ( const_iterator, const_iterator, const allocator_type & )

__WORKAROUND_DBG_RENAME()slist(const_iterator__first,
const_iterator__last,
const allocator_type &__a =  allocator_type()
)[inline]

slist ( const value_type *, const value_type *, const allocator_type & )

__WORKAROUND_DBG_RENAME()slist(const value_type *__first,
const value_type *__last,
const allocator_type &__a =  allocator_type()
)[inline]

slist ( const _Self & )

__WORKAROUND_DBG_RENAME()slist(const _Self &__x)[inline]

slist ( )

~__WORKAROUND_DBG_RENAME()slist()[inline]

Member Function Documentation

_M_fill_assign ( size_type, const _Tp & )

void_M_fill_assign(size_type__n,
const _Tp &__val
)

assign ( size_type, const _Tp & )

voidassign(size_type__n,
const _Tp &__val
)[inline]

before_begin ( )

iterator before_begin()[inline]

before_begin ( )

const_iterator before_begin()const [inline]

begin ( )

iterator begin()[inline]

begin ( )

const_iterator begin()const [inline]

clear ( )

voidclear()[inline]

empty ( )

boolempty()const [inline]

end ( )

iterator end()[inline]

end ( )

const_iterator end()const [inline]

erase ( iterator )

iterator erase(iterator__pos)[inline]

erase ( iterator, iterator )

iterator erase(iterator__first,
iterator__last
)[inline]

erase_after ( iterator )

iterator erase_after(iterator__pos)[inline]

erase_after ( iterator, iterator )

iterator erase_after(iterator__before_first,
iterator__last
)[inline]

front ( )

reference front()[inline]

front ( )

const_reference front()const [inline]

get_allocator ( )

allocator_type get_allocator()const [inline]

insert ( iterator, const value_type & )

iterator insert(iterator__pos,
const value_type &__x
)[inline]

insert ( iterator )

iterator insert(iterator__pos)[inline]

insert ( iterator, size_type, const value_type & )

voidinsert(iterator__pos,
size_type__n,
const value_type &__x
)[inline]

insert ( iterator, const_iterator, const_iterator )

voidinsert(iterator__pos,
const_iterator__first,
const_iterator__last
)[inline]

insert ( iterator, const value_type *, const value_type * )

voidinsert(iterator__pos,
const value_type *__first,
const value_type *__last
)[inline]

insert_after ( iterator, const value_type & )

iterator insert_after(iterator__pos,
const value_type &__x
)[inline]

insert_after ( iterator )

iterator insert_after(iterator__pos)[inline]

insert_after ( iterator, size_type, const value_type & )

voidinsert_after(iterator__pos,
size_type__n,
const value_type &__x
)[inline]

insert_after ( iterator, const_iterator, const_iterator )

voidinsert_after(iterator__pos,
const_iterator__first,
const_iterator__last
)[inline]

insert_after ( iterator, const value_type *, const value_type * )

voidinsert_after(iterator__pos,
const value_type *__first,
const value_type *__last
)[inline]

max_size ( )

size_type max_size()const [inline]

merge ( _Self & )

voidmerge(_Self &__x)

operator= ( const _Self & )

_Self &operator=(const _Self &__x)

pop_front ( )

voidpop_front()[inline]

previous ( const_iterator )

iterator previous(const_iterator__pos)[inline]

previous ( const_iterator )

const_iterator previous(const_iterator__pos)const [inline]

push_front ( const value_type & )

voidpush_front(const value_type &__x)[inline]

push_front ( )

voidpush_front()[inline]

remove ( const _Tp & )

voidremove(const _Tp &__val)

resize ( size_type, const _Tp & )

voidresize(size_typenew_size,
const _Tp &__x
)

resize ( size_type )

voidresize(size_typenew_size)[inline]

reverse ( )

voidreverse()[inline]

size ( )

size_type size()const [inline]

sort ( )

voidsort()

splice ( iterator, _Self & )

voidsplice(iterator__pos,
_Self &__x
)[inline]

splice ( iterator, _Self &, iterator )

voidsplice(iterator__pos,
_Self &__x,
iterator__i
)[inline]

splice ( iterator, _Self &, iterator, iterator )

voidsplice(iterator__pos,
_Self &__x,
iterator__first,
iterator__last
)[inline]

splice_after ( iterator, iterator, iterator )

voidsplice_after(iterator__pos,
iterator__before_first,
iterator__before_last
)[inline]

splice_after ( iterator, iterator )

voidsplice_after(iterator__pos,
iterator__prev
)[inline]

splice_after ( iterator, _Self & )

voidsplice_after(iterator__pos,
_Self &__x
)[inline]

swap ( _Self & )

voidswap(_Self &__x)[inline]

unique ( )

voidunique()