Add a key/data pair and load a raw reference into result.
Synopsis
Declared in <bdlcc_skiplist.h>
void
addRaw(
Pair** result,
KEY const& key,
DATA const& data,
bool* newFrontFlag = 0);
Description
The result reference must be released (using releaseReferenceRaw) when it is no longer needed. Load into the optionally specified newFrontFlag a true value if the pair is at the front of the list, and a false value otherwise.
Parameters
Name |
Description |
result |
receives a reference to the inserted pair |
key |
key of the pair |
data |
data associated with |
newFrontFlag |
if non‐null, set to whether the pair is at the front |
Created with MrDocs