[#bsl-unordered_map-02b-equal_range-05] = xref:bsl.adoc[bsl]::xref:bsl/unordered_map-02b.adoc[unordered_map]::equal_range :relfileprefix: ../../ :mrdocs: `equal_range` overloads == Synopses Declared in `<bslstl_unorderedmap.h>` Return an iterator range of elements with the specified `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/pair-0b.adoc[pair<iterator, iterator>] xref:bsl/unordered_map-02b/equal_range-0b.adoc[equal_range](xref:bsl/unordered_map-02b/key_type.adoc[key_type] const& key); ---- [.small]#xref:bsl/unordered_map-02b/equal_range-0b.adoc[_» more..._]# Return a const iterator range of elements with the specified `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/pair-0b.adoc[pair<const_iterator, const_iterator>] xref:bsl/unordered_map-02b/equal_range-0c.adoc[equal_range](xref:bsl/unordered_map-02b/key_type.adoc[key_type] const& key) const; ---- [.small]#xref:bsl/unordered_map-02b/equal_range-0c.adoc[_» more..._]# Return an iterator range of elements with an equivalent `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class LOOKUP_KEY> xref:bsl/pair-0b.adoc[pair<iterator, iterator>] xref:bsl/unordered_map-02b/equal_range-07.adoc[equal_range](LOOKUP_KEY const& key) requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value && BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value; ---- [.small]#xref:bsl/unordered_map-02b/equal_range-07.adoc[_» more..._]# Return a const iterator range of elements with an equivalent `key`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class LOOKUP_KEY> xref:bsl/pair-0b.adoc[pair<const_iterator, const_iterator>] xref:bsl/unordered_map-02b/equal_range-0d.adoc[equal_range](LOOKUP_KEY const& key) const requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value && BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value; ---- [.small]#xref:bsl/unordered_map-02b/equal_range-0d.adoc[_» more..._]# == Return Value * pair of iterators delimiting the equal‐key range * pair of const iterators delimiting the equal‐key range == Parameters [cols="1,4"] |=== | Name| Description | *key* | key to look up |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#