bsl::_Sl_global::__previous

Return the node preceding __node when walking from __head.

Synopses

Declared in <bslstp_slistbase.h>

Return the node preceding __node when walking from __head.

static
_Slist_node_base*
__previous(
    _Slist_node_base* __head,
    _Slist_node_base const* __node);
» more...

Return the node preceding __node when walking from __head.

static
_Slist_node_base const*
__previous(
    _Slist_node_base const* __head,
    _Slist_node_base const* __node);
» more...

Return Value

predecessor of __node, or null if none

Parameters

NameDescription
__headstarting node of the walk
__nodenode whose predecessor is sought