#include <stl_list.h>
Inheritance diagram for _GLIBCXX_STD::_List_base< _Tp, _Alloc >:
Public Types | |
typedef _Alloc | allocator_type |
Public Member Functions | |
_Tp_alloc_type | _M_get_Tp_allocator () const |
allocator_type | get_allocator () const |
_List_base (const allocator_type &__a) | |
~_List_base () | |
void | _M_clear () |
void | _M_init () |
Protected Types | |
typedef _Alloc::template rebind< _List_node< _Tp > >::other | _Node_alloc_type |
typedef _Alloc::template rebind< _Tp >::other | _Tp_alloc_type |
Protected Member Functions | |
_List_node< _Tp > * | _M_get_node () |
void | _M_put_node (_List_node< _Tp > *__p) |
Protected Attributes | |
_List_impl | _M_impl |
Classes | |
struct | _List_impl |
Definition at line 281 of file stl_list.h.
typedef _Alloc::template rebind<_List_node<_Tp> >::other _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_Node_alloc_type [protected] |
Definition at line 298 of file stl_list.h.
typedef _Alloc::template rebind<_Tp>::other _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_Tp_alloc_type [protected] |
Reimplemented in _GLIBCXX_STD::list< _Tp, _Alloc >, and _GLIBCXX_STD::list< _Tp, _Allocator >.
Definition at line 300 of file stl_list.h.
typedef _Alloc _GLIBCXX_STD::_List_base< _Tp, _Alloc >::allocator_type |
Reimplemented in _GLIBCXX_STD::list< _Tp, _Alloc >, __gnu_debug_def::list< _Tp, _Allocator >, and _GLIBCXX_STD::list< _Tp, _Allocator >.
Definition at line 323 of file stl_list.h.
_GLIBCXX_STD::_List_base< _Tp, _Alloc >::_List_base | ( | const allocator_type & | __a | ) | [inline] |
Definition at line 333 of file stl_list.h.
_GLIBCXX_STD::_List_base< _Tp, _Alloc >::~_List_base | ( | ) | [inline] |
Definition at line 338 of file stl_list.h.
void _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_M_clear | ( | ) |
Definition at line 69 of file list.tcc.
References _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_M_get_Tp_allocator(), _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_M_impl, _GLIBCXX_STD::_List_node_base::_M_next, _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_List_impl::_M_node, and _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_M_put_node().
Referenced by _GLIBCXX_STD::_List_base< _Tp, _Allocator >::~_List_base().
_List_node<_Tp>* _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_M_get_node | ( | ) | [inline, protected] |
Definition at line 315 of file stl_list.h.
Referenced by _GLIBCXX_STD::list< _Tp, _Allocator >::_M_create_node().
_Tp_alloc_type _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_M_get_Tp_allocator | ( | ) | const [inline] |
void _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_M_init | ( | ) | [inline] |
Definition at line 345 of file stl_list.h.
Referenced by _GLIBCXX_STD::_List_base< _Tp, _Allocator >::_List_base().
void _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_M_put_node | ( | _List_node< _Tp > * | __p | ) | [inline, protected] |
Definition at line 319 of file stl_list.h.
Referenced by _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_M_clear(), _GLIBCXX_STD::list< _Tp, _Allocator >::_M_create_node(), and _GLIBCXX_STD::list< _Tp, _Allocator >::_M_erase().
allocator_type _GLIBCXX_STD::_List_base< _Tp, _Alloc >::get_allocator | ( | ) | const [inline] |
Reimplemented in _GLIBCXX_STD::list< _Tp, _Alloc >, and _GLIBCXX_STD::list< _Tp, _Allocator >.
Definition at line 330 of file stl_list.h.
_List_impl _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_M_impl [protected] |
Definition at line 312 of file stl_list.h.
Referenced by _GLIBCXX_STD::_List_base< _Tp, _Alloc >::_M_clear(), _GLIBCXX_STD::_List_base< _Tp, _Allocator >::_M_get_node(), _GLIBCXX_STD::_List_base< _Tp, _Allocator >::_M_get_Tp_allocator(), _GLIBCXX_STD::_List_base< _Tp, _Allocator >::_M_init(), _GLIBCXX_STD::_List_base< _Tp, _Allocator >::_M_put_node(), _GLIBCXX_STD::list< _Tp, _Allocator >::empty(), _GLIBCXX_STD::list< _Tp, _Allocator >::reverse(), and _GLIBCXX_STD::list< _Tp, _Allocator >::swap().