[#bsl-set-0d-find-0c] = xref:bsl.adoc[bsl]::xref:bsl/set-0d.adoc[set]::find :relfileprefix: ../../ :mrdocs: Return an iterator to the element equivalent to `key`, or `end`. == Synopsis Declared in `<bslstl_set.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/set-0d/iterator.adoc[iterator] find(xref:bsl/set-0d/key_type.adoc[key_type] const& key); ---- == Description Return an iterator providing modifiable access to the `value_type` object in this set that is equivalent to the specified `key`, if such an entry exists, and the past‐the‐end (`end`) iterator otherwise. Note: implemented inline due to Sun CC compilation error. == Return Value iterator to the matching element, or `end()` == Parameters [cols="1,4"] |=== | Name| Description | *key* | key value to look up |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#