BloombergLP::bdlcc::SkipList::nextRaw

Load a raw reference to the item after reference into next.

Synopsis

Declared in <bdlcc_skiplist.h>

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

Description

Load into the specified next a reference to the item that appears in the list after the item identified by the specified reference. The next reference must be released (using releaseReferenceRaw) when it is no longer needed. 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