equal_range overloads
Declared in <bslstl_unorderedmultimap.h>
Return a pair of iterators providing modifiable access to the sequence of value_type objects in this unordered multimap with a key equivalent to the specified key, where the first iterator is positioned at the start of the sequence, and the second is positioned one past the end of the sequence. If this unordered multimap contains no value_type objects with a key equivalent to key, then the two returned iterators will have the same value.
bsl::pair<unordered_multimap<KEY, VALUE, HASH, EQUAL, ALLOCATOR>::iterator, unordered_multimap<KEY, VALUE, HASH, EQUAL, ALLOCATOR>::iterator>
equal_range(key_type const& key);
» more...
Return a pair of iterators providing non-modifiable access to the sequence of value_type objects in this unordered multimap with a key equivalent to the specified key, where the first iterator is positioned at the start of the sequence, and the second is positioned one past the end of the sequence. If this unordered multimap contains no value_type objects with a key equivalent to key, then the two returned iterators will have the same value.
bsl::pair<unordered_multimap<KEY, VALUE, HASH, EQUAL, ALLOCATOR>::const_iterator, unordered_multimap<KEY, VALUE, HASH, EQUAL, ALLOCATOR>::const_iterator>
equal_range(key_type const& key) const;
» more...
Return a pair of iterators providing modifiable access to the sequence of value_type objects in this unordered multimap with a key equivalent to the specified key, where the first iterator is positioned at the start of the sequence, and the second is positioned one past the end of the sequence. If this unordered multimap contains no value_type objects with a key equivalent to key, then the two returned iterators will have the same value. The behavior is undefined unless key is equivalent to the key of the elements of at most one equivalent-key group in this unordered multimap.
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;
» more...
Return a pair of iterators providing non-modifiable access to the sequence of value_type objects in this unordered multimap with a key equivalent to the specified key, where the first iterator is positioned at the start of the sequence, and the second is positioned one past the end of the sequence. If this unordered multimap contains no value_type objects with a key equivalent to key, then the two returned iterators will have the same value. The behavior is undefined unless key is equivalent to the key of the elements of at most one equivalent-key group in this unordered multimap.
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;
» more...