Remove and return the first item in the list.

Synopsis

Declared in <bdlcc_skiplist.h>

int
popFront(PairHandle* item = 0);

Description

Remove the first item from the list and load a reference to it into the optionally specified item. Return 0 on success, and a non‐zero value if the list is empty.

Return Value

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

Parameters

Name

Description

item

optional handle receiving the removed item

Created with MrDocs