Returns the range of elements matching the given key.

Synopses

Declared in <absl/container/linked_hash_map.h>

Returns the range of elements matching the given key.

template<class K = key_type>
std::pair<iterator, iterator>
equal_range(key_arg<K> const& key);

Returns the range of elements matching the given key.

template<class K = key_type>
std::pair<const_iterator, const_iterator>
equal_range(key_arg<K> const& key) const;

Return Value

  • A pair of iterators bounding the matching elements.

  • A pair of const iterators bounding the matching elements.

Parameters

Name

Description

key

The key to look up.

Created with MrDocs