Returns the range of elements matching the given key.

Synopses

Declared in <absl/container/linked_hash_set.h>

Returns the range of elements matching the given key.

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

Returns the range of elements matching the given key.

template<typename 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 range.

  • A pair of const iterators bounding the matching range.

Parameters

Name

Description

key

The key to search for.

Created with MrDocs