[#bsl-unordered_set-02a-equal_range-06]
= xref:bsl.adoc[bsl]::xref:bsl/unordered_set-02a.adoc[unordered&lowbar;set&lt;ManagedAttribute, AttributeHash&gt;]::equal&lowbar;range
:relfileprefix: ../../
:mrdocs:

Return a pair of iterators providing non&hyphen;modifiable access to the sequence of `value&lowbar;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 iterator is positioned one past the end of the sequence&period; If this unordered set contains no `value&lowbar;type` objects equivalent to `key`, then the two returned iterators will have the same value&period; Note that since an unordered set maintains unique keys, the range will contain at most one element&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;unorderedset&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/pair-0b.adoc[pair&lt;const&lowbar;iterator, const&lowbar;iterator&gt;]
equal&lowbar;range(xref:bsl/unordered_set-02a/key_type.adoc[key&lowbar;type] const& key) const;
----


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