Singly‐linked list node storing a value of type _Tp.

Synopsis

Declared in <bslstp_slist.h>

template<class _Tp>
struct _Slist_node
    : _Slist_node_base

Base Classes

Name

Description

_Slist_node_base

Intrusive singly‐linked list node base holding a next pointer.

Data Members

Name

Description

_M_data

Value stored in this node.

_M_next

Pointer to the next node in the list, or null.

Non-Member Functions

Name

Description

__slist_make_link

Link __new_node immediately after __prev_node and return __new_node.

Created with MrDocs