Allocator‐aware base that owns the sentinel head node of an slist.
Synopsis
Declared in <bslstp_slist.h>
template<
class _Tp,
class _Alloc>
struct _Slist_base;
Type Aliases
Name |
Description |
Node type storing an element of type |
|
Allocator type for element values. |
Member Functions
Name |
Description |
|
Create an empty base using the specified allocator. |
|
Destroy all nodes owned by this base. |
Return the allocator used by this base. |
Data Members
Name |
Description |
Sentinel head proxy holding the allocator and next‐pointer. |
Protected Type Aliases
Name |
Description |
Allocator type used to allocate |
Protected Member Functions
Name |
Description |
|
Created with MrDocs