[#bsl-set-0d-equal_range-07]
= xref:bsl.adoc[bsl]::xref:bsl/set-0d.adoc[set]::equal&lowbar;range
:relfileprefix: ../../
:mrdocs:

`equal&lowbar;range` overloads

== Synopses

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

Return the half&hyphen;open range of elements equivalent to `key`&period;


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

[.small]#xref:bsl/set-0d/equal_range-08f.adoc[_» more&period;&period;&period;_]#

Return the const half&hyphen;open range of elements equivalent to `key`&period;


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

[.small]#xref:bsl/set-0d/equal_range-085.adoc[_» more&period;&period;&period;_]#

Return the half&hyphen;open range of elements equivalent to `key`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class LOOKUP&lowbar;KEY&gt;
xref:bsl/pair-0b.adoc[pair&lt;iterator, iterator&gt;]
xref:bsl/set-0d/equal_range-0b.adoc[equal&lowbar;range](LOOKUP&lowbar;KEY const& key)
requires BloombergLP&colon;&colon;bslmf&colon;&colon;IsTransparentPredicate&lt;COMPARATOR,
                                                   LOOKUP&lowbar;KEY&gt;&colon;&colon;value;
----

[.small]#xref:bsl/set-0d/equal_range-0b.adoc[_» more&period;&period;&period;_]#

Return the const half&hyphen;open range of elements equivalent to `key`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class LOOKUP&lowbar;KEY&gt;
xref:bsl/pair-0b.adoc[pair&lt;const&lowbar;iterator, const&lowbar;iterator&gt;]
xref:bsl/set-0d/equal_range-083.adoc[equal&lowbar;range](LOOKUP&lowbar;KEY const& key) const
requires BloombergLP&colon;&colon;bslmf&colon;&colon;IsTransparentPredicate&lt;COMPARATOR,
                                                   LOOKUP&lowbar;KEY&gt;&colon;&colon;value;
----

[.small]#xref:bsl/set-0d/equal_range-083.adoc[_» more&period;&period;&period;_]#

== Return Value

* pair of iterators delimiting the equivalent range
* pair of const iterators delimiting the equivalent range

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key*
| key value to look up
|===


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