BloombergLP::bdlcc::SkipList::addR

addR overloads

Synopses

Declared in <bdlcc_skiplist.h>

Add key/data, searching for position from the back.

void
addR(
    KEY const& key,
    DATA const& data,
    bool* newFrontFlag = 0);
» more...

Add key/data from the back and load a handle into result.

void
addR(
    PairHandle* result,
    KEY const& key,
    DATA const& data,
    bool* newFrontFlag = 0);
» more...

Parameters

NameDescription
keykey of the pair
datadata associated with key
newFrontFlagif non-null, set to whether the pair is at the front
resultreceives a reference to the inserted pair