[#BloombergLP-bdlc-FlatHashMap-equal_range-030]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap]::equal&lowbar;range
:relfileprefix: ../../../
:mrdocs:

Return the const iterator range of elements equal to `key`&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;flathashmap&period;h&gt;`

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

== Description

Return a pair of iterators providing non&hyphen;modifiable access to the sequence of `value&lowbar;type` objects in this unordered map 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 map 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 map maintains unique keys, the range will contain at most one element&period;

== Return Value

pair of const iterators delimiting the equal range

== Parameters

[cols="1,4"]
|===
| Name| Description
| *key*
| transparent key to find
|===


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