Add the specified key / data pair to this list.
Declared in <bdlcc_skiplist.h>
void
add(
KEY const& key,
DATA const& data,
bool* newFrontFlag = 0);
Load into the the optionally specified newFrontFlag a true value if the pair is at the front of the list, and a false value otherwise.
| Name | Description |
|---|---|
| key | key of the pair |
| data | data associated with key |
| newFrontFlag | if non-null, set to whether the pair is at the front |