[#BloombergLP-bdlc-FlatHashMap-equal_range-0b] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashMap.adoc[FlatHashMap]::equal_range :relfileprefix: ../../../ :mrdocs: Return the iterator range of elements equal to `key`. == Synopsis Declared in `<bdlc_flathashmap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/pair-0b.adoc[bsl::pair<FlatHashMap<KEY, VALUE, HASH, EQUAL>::iterator, FlatHashMap<KEY, VALUE, HASH, EQUAL>::iterator>] equal_range(KEY const& key); ---- == Description Return a pair of iterators defining the sequence of modifiable elements in this map having 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. If this map contains no elements having a key equivalent to `key`, then the two returned iterators will have the same value. Note that since a map maintains unique keys, the range will contain at most one element. == Return Value pair of iterators delimiting the equal range == Parameters [cols="1,4"] |=== | Name| Description | *key* | key to find |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#