BloombergLP::bdlcc::SkipList::next

Load into next the list item after reference.

Synopsis

Declared in <bdlcc_skiplist.h>

int
next(
    PairHandle* next,
    Pair const* reference) const;

Description

Return the list item after reference.

Load into the specified next a reference to the item that appears in the list after the item identified by the specified reference. Return 0 on success, or a non-zero value if reference refers to the back of the list.

Return Value

0 on success, or a non-zero value if reference is at the back

Parameters

NameDescription
nextreceives a reference to the next item
referencepair in this list