BloombergLP::bdlcc::SkipList::add

add overloads

Synopses

Declared in <bdlcc_skiplist.h>

Add the specified key / data pair to this list.

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

Add a key/data pair and load a handle to it into result.

void
add(
    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