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