equal_range overloads
Synopses
Declared in <bslstl_unorderedmap.h>
Return an iterator range of elements with the specified key.
pair<iterator, iterator>
equal_range(key_type const& key);
Return a const iterator range of elements with the specified key.
pair<const_iterator, const_iterator>
equal_range(key_type const& key) const;
Return an iterator range of elements with an equivalent key.
template<class LOOKUP_KEY>
pair<iterator, iterator>
equal_range(LOOKUP_KEY const& key)
requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value
&& BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value;
Return a const iterator range of elements with an equivalent key.
template<class LOOKUP_KEY>
pair<const_iterator, const_iterator>
equal_range(LOOKUP_KEY const& key) const
requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value
&& BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value;
Return Value
-
pair of iterators delimiting the equal‐key range
-
pair of const iterators delimiting the equal‐key range
Parameters
Name |
Description |
key |
key to look up |
Created with MrDocs