[#BloombergLP-bdlcc-SkipList-0a-findR] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/SkipList-0a.adoc[SkipList]::findR :relfileprefix: ../../../ :mrdocs: Find the element with `key`, searching from the back. == Synopsis Declared in `<bdlcc_skiplist.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int findR( xref:BloombergLP/bdlcc/SkipList-0a/PairHandle.adoc[PairHandle]* item, KEY const& key) const; ---- == Description Find `key` by searching from the back of the list. Load into the specified `item` a reference to the element in this list with the specified `key` found by searching the list from the back (in descending order of key value). If multiple elements having `key` are in the container, load `item` with the _last_ matching element. `key` are present, find the last one. Return 0 on success, and a non‐zero value (with no effect on `item`) if no such element exists. If there are multiple elements in the list with the `key`, it is undefined which one is returned. == Return Value 0 on success, and a non‐zero value if not found == Parameters [cols="1,4"] |=== | Name| Description | *item* | receives or identifies a list item | *key* | key to search for |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#