Allocator-aware base that owns the sentinel head node of an slist.
Declared in <bslstp_slist.h>
template<
class _Tp,
class _Alloc>
struct _Slist_base;
| Name | Description |
|---|---|
_Node | Node type storing an element of type _Tp. |
allocator_type | Allocator type for element values. |
| Name | Description |
|---|---|
_Slist_base [constructor] | Create an empty base using the specified allocator. |
~_Slist_base [destructor] | Destroy all nodes owned by this base. |
get_allocator | Return the allocator used by this base. |
| Name | Description |
|---|---|
_M_head | Sentinel head proxy holding the allocator and next-pointer. |
| Name | Description |
|---|---|
_M_node_allocator_type | Allocator type used to allocate _Node objects. |
| Name | Description |
|---|---|
_M_erase_after | _M_erase_after overloads |