equal_range overloads
Synopses
Declared in <bdlc_flathashmap.h>
Return the iterator range of elements equal to key.
Return the const iterator range of elements equal to key.
Return the iterator range of elements equal to key.
template<class LOOKUP_KEY>
bsl::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 the const iterator range of elements equal to key.
template<class LOOKUP_KEY>
bsl::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 range
-
pair of const iterators delimiting the equal range
Parameters
Name |
Description |
key |
key to find |
Created with MrDocs