Load into prevPair the pair before reference.

Synopsis

Declared in <bdlcc_skiplist.h>

int
previous(
    PairHandle* prevPair,
    Pair const* reference) const;

Description

Load a reference to the pair before reference into prevPair.

Load into the specified prevPair a reference to the pair that appears in the list before the pair identified by the specified reference. Return 0 on success, or a non‐zero value if reference refers to the front of the list.

Return Value

0 on success, or a non‐zero value if reference is at the front

Parameters

Name

Description

prevPair

receives a reference to the previous pair

reference

pair in this list

Created with MrDocs