BDE 4.14.0 Production release
|
#include <bslstp_slist.h>
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 std::size_t | size_type |
typedef std::ptrdiff_t | difference_type |
typedef std::forward_iterator_tag | _Iterator_category |
typedef _Slist_iterator< _Tp, _Nonconst_traits< _Tp > > | iterator |
typedef _Slist_iterator< _Tp, _Const_traits< _Tp > > | const_iterator |
typedef _Base::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=_Tp(), const allocator_type &__a=allocator_type()) | |
template<class _InputIterator > | |
slist (_InputIterator __first, _InputIterator __last, const allocator_type &__a=allocator_type()) | |
slist (const _Self &__x) | |
slist (const _Self &__x, const allocator_type &__a) | |
_Self & | operator= (const _Self &__x) |
~slist () | |
void | assign (size_type __n, const _Tp &__val) |
void | _M_fill_assign (size_type __n, const _Tp &__val) |
template<class _InputIterator > | |
void | assign (_InputIterator __first, _InputIterator __last) |
template<class _Integer > | |
void | _M_assign_dispatch (_Integer __n, _Integer __val, bsl::true_type *) |
template<class _InputIter > | |
void | _M_assign_dispatch (_InputIter __first, _InputIter __last, bsl::false_type *) |
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) |
template<class _InIter > | |
void | insert_after (iterator __pos, _InIter __first, _InIter __last) |
iterator | insert (iterator __pos, const value_type &__x=_Tp()) |
void | insert (iterator __pos, size_type __n, const value_type &__x) |
template<class _InIter > | |
void | insert (iterator __pos, _InIter __first, _InIter __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, iterator __before_first, iterator __before_last) |
void | splice_after (iterator __pos, 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 () |
template<class _Predicate > | |
void | remove_if (_Predicate __pred) |
template<class _BinaryPredicate > | |
void | unique (_BinaryPredicate __pred) |
template<class _StrictWeakOrdering > | |
void | merge (slist< _Tp, _Alloc > &__x, _StrictWeakOrdering __comp) |
template<class _StrictWeakOrdering > | |
void | sort (_StrictWeakOrdering __comp) |
Friends | |
struct | QuickSwap |
Additional Inherited Members | |
Protected Types inherited from bsl::_Slist_base< _Tp, _Alloc > | |
typedef _Alloc_traits< _Node, _Alloc >::allocator_type | _M_node_allocator_type |
typedef _Alloc_traits< _Tp, _Alloc >::allocator_type | allocator_type |
typedef _Slist_node< _Tp > | _Node |
Protected Member Functions inherited from bsl::_Slist_base< _Tp, _Alloc > | |
_Slist_node_base * | _M_erase_after (_Slist_node_base *__pos) |
_Slist_node_base * | _M_erase_after (_Slist_node_base *, _Slist_node_base *) |
_Slist_base (const allocator_type &__a) | |
~_Slist_base () | |
allocator_type | get_allocator () const |
Protected Attributes inherited from bsl::_Slist_base< _Tp, _Alloc > | |
_STLP_alloc_proxy< _Slist_node_base, _Node, _M_node_allocator_type > | _M_head |
typedef std::forward_iterator_tag bsl::slist< _Tp, _Alloc >::_Iterator_category |
typedef _Base::allocator_type bsl::slist< _Tp, _Alloc >::allocator_type |
typedef _Slist_iterator<_Tp, _Const_traits<_Tp> > bsl::slist< _Tp, _Alloc >::const_iterator |
typedef const value_type* bsl::slist< _Tp, _Alloc >::const_pointer |
typedef const value_type& bsl::slist< _Tp, _Alloc >::const_reference |
typedef std::ptrdiff_t bsl::slist< _Tp, _Alloc >::difference_type |
typedef _Slist_iterator<_Tp, _Nonconst_traits<_Tp> > bsl::slist< _Tp, _Alloc >::iterator |
typedef value_type* bsl::slist< _Tp, _Alloc >::pointer |
typedef value_type& bsl::slist< _Tp, _Alloc >::reference |
typedef std::size_t bsl::slist< _Tp, _Alloc >::size_type |
typedef _Tp bsl::slist< _Tp, _Alloc >::value_type |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void bsl::slist< _Tp, _Alloc >::_M_fill_assign | ( | size_type | __n, |
const _Tp & | __val | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void bsl::slist< _Tp, _Alloc >::merge | ( | _Self & | __x | ) |
|
inline |
slist< _Tp, _Alloc > & bsl::slist< _Tp, _Alloc >::operator= | ( | const _Self & | __x | ) |
|
inline |
|
inline |
|
inline |
|
inline |
void bsl::slist< _Tp, _Alloc >::remove | ( | const _Tp & | __val | ) |
|
inline |
void bsl::slist< _Tp, _Alloc >::resize | ( | size_type | new_size, |
const value_type & | __x = _Tp() |
||
) |
|
inline |
|
inline |
void bsl::slist< _Tp, _Alloc >::sort | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void bsl::slist< _Tp, _Alloc >::unique | ( | ) |
|
inline |
|
friend |