[#BloombergLP-bdlcc-SkipList-0a-addAtLevelUniqueRaw]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/SkipList-0a.adoc[SkipList]::addAtLevelUniqueRaw
:relfileprefix: ../../../
:mrdocs:

Add the specified `key` &sol; `data` pair to this list at the specified `level`, and load into the specified `result` a reference to the pair in the list&period; The `result` reference must be released (using `releaseReferenceRaw`) when it is no longer needed&period; 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&period; The behavior is undefined if `level` is greater than the implementation&hyphen;defined maximum level of this class, or if `level` is negative&period; Return 0 on success, and a non&hyphen;zero value (with no effect on the list) if `key` is already in the list&period; Note that this method is provided for testing purposes&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;skiplist&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
addAtLevelUniqueRaw(
    xref:BloombergLP/bdlcc/SkipList-0a/Pair.adoc[Pair]** result,
    int level,
    KEY const& key,
    DATA const& data,
    bool* newFrontFlag = 0);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
