[#bsl-map-0a7-equal_range-0813]
= xref:bsl.adoc[bsl]::xref:bsl/map-0a7.adoc[map]::equal&lowbar;range
:relfileprefix: ../../
:mrdocs:

Return a pair of iterators providing modifiable access to the sequence of `value&lowbar;type` objects in this map whose keys 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&period; The first returned iterator will be `lower&lowbar;bound(key)`, the second returned iterator will be `upper&lowbar;bound(key)`, and, if this map contains no `value&lowbar;type` objects with an equivalent key, then the two returned iterators will have the same value&period; Note that although a map maintains unique keys, the range may contain more than one element, because a transparent comparator may have been supplied that provides a different (but compatible) partitioning of keys for `LOOKUP&lowbar;KEY` as the comparisons used to order the keys in the map&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class LOOKUP&lowbar;KEY&gt;
xref:bsl/pair-0b.adoc[pair&lt;iterator, iterator&gt;]
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]#Created with https://www.mrdocs.com[MrDocs]#
