[#bsl-unordered_set-0d2d-find-00e] = xref:bsl.adoc[bsl]::xref:bsl/unordered_set-0d2d.adoc[unordered_set]::find :relfileprefix: ../../ :mrdocs: `find` overloads == Synopses Declared in `<bslstl_unorderedset.h>` Return an iterator providing modifiable access to the `value_type` object in this unordered set that is equivalent to the specified `key`, if such an entry exists, and the past‐the‐end (`end`) iterator otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/unordered_set-0d2d/iterator.adoc[unordered_set<KEY, HASH, EQUAL, ALLOCATOR>::iterator] xref:bsl/unordered_set-0d2d/find-0d.adoc[find](xref:bsl/unordered_set-0d2d/key_type.adoc[key_type] const& key); ---- [.small]#xref:bsl/unordered_set-0d2d/find-0d.adoc[_» more..._]# Return an iterator providing non‐modifiable access to the `value_type` object in this unordered set that is equivalent to the specified `key`, if such an entry exists, and the past‐the‐end (`end`) iterator otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/unordered_set-0d2d/const_iterator.adoc[unordered_set<KEY, HASH, EQUAL, ALLOCATOR>::const_iterator] xref:bsl/unordered_set-0d2d/find-00d.adoc[find](xref:bsl/unordered_set-0d2d/key_type.adoc[key_type] const& key) const; ---- [.small]#xref:bsl/unordered_set-0d2d/find-00d.adoc[_» more..._]# Return an iterator providing modifiable access to the `value_type` object in this unordered set that is equivalent to the specified `key`, if such an entry exists, and the past‐the‐end (`end`) iterator otherwise. The behavior is undefined unless `key` is equivalent to at most one element in this unordered set. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class LOOKUP_KEY> xref:bsl/unordered_set-0d2d/iterator.adoc[iterator] xref:bsl/unordered_set-0d2d/find-03.adoc[find](LOOKUP_KEY const& key) requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value && BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value; ---- [.small]#xref:bsl/unordered_set-0d2d/find-03.adoc[_» more..._]# Return an iterator providing non‐modifiable access to the `value_type` object in this unordered set that is equivalent to the specified `key`, if such an entry exists, and the past‐the‐end (`end`) iterator otherwise. The behavior is undefined unless `key` is equivalent to at most one element in this unordered set. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class LOOKUP_KEY> xref:bsl/unordered_set-0d2d/const_iterator.adoc[const_iterator] xref:bsl/unordered_set-0d2d/find-0c.adoc[find](LOOKUP_KEY const& key) const requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value && BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value; ---- [.small]#xref:bsl/unordered_set-0d2d/find-0c.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#