BloombergLP::bdlcc::SkipList::front

Load a reference to the first item into front.

Synopsis

Declared in <bdlcc_skiplist.h>

int
front(PairHandle* front) const;

Description

Load a reference to the first item in the list into front.

Load into the specified front a reference to the first item in the list. Return 0 on success, and a non-zero value (with no effect on front) if the list is empty.

Return Value

0 on success, and a non-zero value if the list is empty

Parameters

NameDescription
frontreceives a reference to the first item