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