__gnu_cxx::_Slist_base< _Tp, _Alloc > Struct Template Reference

Inheritance diagram for __gnu_cxx::_Slist_base< _Tp, _Alloc >:

__gnu_cxx::slist< _Tp, _Alloc > List of all members.

Public Types

typedef _Alloc::template rebind<
_Slist_node< _Tp > >::other 
_Node_alloc
typedef _Alloc allocator_type

Public Member Functions

allocator_type get_allocator () const
 _Slist_base (const allocator_type &__a)
 ~_Slist_base ()

Protected Member Functions

_Slist_node< _Tp > * _M_get_node ()
void _M_put_node (_Slist_node< _Tp > *__p)
_Slist_node_base_M_erase_after (_Slist_node_base *__pos)
_Slist_node_base_M_erase_after (_Slist_node_base *, _Slist_node_base *)

Protected Attributes

_Slist_node_base _M_head

template<class _Tp, class _Alloc>
struct __gnu_cxx::_Slist_base< _Tp, _Alloc >


Member Typedef Documentation

template<class _Tp, class _Alloc>
typedef _Alloc::template rebind<_Slist_node<_Tp> >::other __gnu_cxx::_Slist_base< _Tp, _Alloc >::_Node_alloc
 

Definition at line 207 of file slist.

Referenced by __gnu_cxx::_Slist_base< _Tp, _Alloc >::_Slist_base().

template<class _Tp, class _Alloc>
typedef _Alloc __gnu_cxx::_Slist_base< _Tp, _Alloc >::allocator_type
 

Reimplemented in __gnu_cxx::slist< _Tp, _Alloc >.

Definition at line 208 of file slist.


Constructor & Destructor Documentation

template<class _Tp, class _Alloc>
__gnu_cxx::_Slist_base< _Tp, _Alloc >::_Slist_base const allocator_type __a  )  [inline]
 

Definition at line 213 of file slist.

References __gnu_cxx::_Slist_base< _Tp, _Alloc >::_M_head, __gnu_cxx::_Slist_node_base::_M_next, and __gnu_cxx::_Slist_base< _Tp, _Alloc >::_Node_alloc.

template<class _Tp, class _Alloc>
__gnu_cxx::_Slist_base< _Tp, _Alloc >::~_Slist_base  )  [inline]
 

Definition at line 215 of file slist.

References __gnu_cxx::_Slist_base< _Tp, _Alloc >::_M_erase_after().


Member Function Documentation

template<class _Tp, class _Alloc>
_Slist_node_base * __gnu_cxx::_Slist_base< _Tp, _Alloc >::_M_erase_after _Slist_node_base ,
_Slist_node_base
[protected]
 

Definition at line 238 of file slist.

References __gnu_cxx::_Slist_node< _Tp >::_M_data, __gnu_cxx::_Slist_node_base::_M_next, and __gnu_cxx::_Slist_base< _Tp, _Alloc >::_M_put_node().

template<class _Tp, class _Alloc>
_Slist_node_base* __gnu_cxx::_Slist_base< _Tp, _Alloc >::_M_erase_after _Slist_node_base __pos  )  [inline, protected]
 

Definition at line 224 of file slist.

References __gnu_cxx::_Slist_node< _Tp >::_M_data, __gnu_cxx::_Slist_node_base::_M_next, and __gnu_cxx::_Slist_base< _Tp, _Alloc >::_M_put_node().

Referenced by __gnu_cxx::slist< _Tp, _Alloc >::_M_assign_dispatch(), __gnu_cxx::slist< _Tp, _Alloc >::_M_fill_assign(), __gnu_cxx::slist< _Tp, _Alloc >::clear(), __gnu_cxx::slist< _Tp, _Alloc >::erase(), __gnu_cxx::slist< _Tp, _Alloc >::operator=(), __gnu_cxx::slist< _Tp, _Alloc >::remove(), __gnu_cxx::slist< _Tp, _Alloc >::remove_if(), __gnu_cxx::slist< _Tp, _Alloc >::resize(), __gnu_cxx::slist< _Tp, _Alloc >::unique(), and __gnu_cxx::_Slist_base< _Tp, _Alloc >::~_Slist_base().

template<class _Tp, class _Alloc>
_Slist_node<_Tp>* __gnu_cxx::_Slist_base< _Tp, _Alloc >::_M_get_node  )  [inline, protected]
 

Definition at line 220 of file slist.

References allocate().

Referenced by __gnu_cxx::slist< _Tp, _Alloc >::_M_create_node().

template<class _Tp, class _Alloc>
void __gnu_cxx::_Slist_base< _Tp, _Alloc >::_M_put_node _Slist_node< _Tp > *  __p  )  [inline, protected]
 

Definition at line 221 of file slist.

References deallocate().

Referenced by __gnu_cxx::slist< _Tp, _Alloc >::_M_create_node(), __gnu_cxx::_Slist_base< _Tp, _Alloc >::_M_erase_after(), and __gnu_cxx::slist< _Tp, _Alloc >::pop_front().

template<class _Tp, class _Alloc>
allocator_type __gnu_cxx::_Slist_base< _Tp, _Alloc >::get_allocator  )  const [inline]
 

Reimplemented in __gnu_cxx::slist< _Tp, _Alloc >.

Definition at line 209 of file slist.


Member Data Documentation

template<class _Tp, class _Alloc>
_Slist_node_base __gnu_cxx::_Slist_base< _Tp, _Alloc >::_M_head [protected]
 

Definition at line 218 of file slist.

Referenced by __gnu_cxx::_Slist_base< _Tp, _Alloc >::_Slist_base(), __gnu_cxx::slist< _Tp, _Alloc >::merge(), __gnu_cxx::slist< _Tp, _Alloc >::operator=(), __gnu_cxx::slist< _Tp, _Alloc >::sort(), __gnu_cxx::slist< _Tp, _Alloc >::splice(), __gnu_cxx::slist< _Tp, _Alloc >::splice_after(), and __gnu_cxx::slist< _Tp, _Alloc >::swap().


The documentation for this struct was generated from the following file:
Generated on Tue Jan 30 17:32:03 2007 for GNU C++ STL by doxygen 1.3.6