[#BloombergLP-bdlcc-SkipList-0d-updateR]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/SkipList-0d.adoc[SkipList&lt;long long, RecurringEventData&gt;]::updateR
:relfileprefix: ../../../
:mrdocs:

Assign the specified `newKey` value to the pair identified by the specified `reference`, moving the pair within the list as necessary&period; Search for the new position from the back of the list (in descending order by key value)&period; Load into the optionally specified `newFrontFlag` a `true` value if the new location of the pair is the front of the list&period; Return 0 on success, `e&lowbar;NOT&lowbar;FOUND` if the pair referred to by `reference` is no longer in the list, or `e&lowbar;DUPLICATE` if the optionally specified `allowDuplicates` is `false` and `newKey` already appears in the list&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
updateR(
    xref:BloombergLP/bdlcc/SkipList-0d/Pair.adoc[Pair] const* reference,
    long long const& newKey,
    bool* newFrontFlag = 0,
    bool allowDuplicates = true);
----


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