bsl::_Sl_global::__previous

Return the node preceding __node when walking from __head.

Synopsis

Declared in <bslstp_slistbase.h>

static
_Slist_node_base*
__previous(
    _Slist_node_base* __head,
    _Slist_node_base const* __node);

Return Value

predecessor of __node, or null if none

Parameters

NameDescription
__headstarting node of the walk
__nodenode whose predecessor is sought