[#BloombergLP-bdlcc-SkipList-0a-add-09d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/SkipList-0a.adoc[SkipList]::add :relfileprefix: ../../../ :mrdocs: `add` overloads == Synopses Declared in `<bdlcc_skiplist.h>` Add the specified `key` / `data` pair to this list. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bdlcc/SkipList-0a/add-095.adoc[add]( KEY const& key, DATA const& data, bool* newFrontFlag = 0); ---- [.small]#xref:BloombergLP/bdlcc/SkipList-0a/add-095.adoc[_» more..._]# Add a key/data pair and load a handle to it into `result`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bdlcc/SkipList-0a/add-0a.adoc[add]( xref:BloombergLP/bdlcc/SkipList-0a/PairHandle.adoc[PairHandle]* result, KEY const& key, DATA const& data, bool* newFrontFlag = 0); ---- [.small]#xref:BloombergLP/bdlcc/SkipList-0a/add-0a.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | 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 | *result* | receives a reference to the inserted pair |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#