[#bsl-unordered_set-0d2d-equal_range-07] = xref:bsl.adoc[bsl]::xref:bsl/unordered_set-0d2d.adoc[unordered_set]::equal_range :relfileprefix: ../../ :mrdocs: Return a pair of iterators providing modifiable access to the sequence of `value_type` objects in this unordered set that are equivalent to the specified `key`, where the first iterator is positioned at the start of the sequence, and the second is positioned one past the end of the sequence. If this unordered set contains no `value_type` objects equivalent to `key`, then the two returned iterators will have the same value. The behavior is undefined unless `key` is equivalent to at most one element in this unordered set. Note that since an unordered set maintains unique keys, the range will contain at most one element. == Synopsis Declared in `<bslstl_unorderedset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class LOOKUP_KEY> xref:bsl/pair-0b.adoc[pair<iterator, iterator>] equal_range(LOOKUP_KEY const& key) requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value && BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value; ---- == Description Note: implemented inline due to Sun CC compilation error. [.small]#Created with https://www.mrdocs.com[MrDocs]#