absl::linked_hash_set::equal_range

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);
» more...

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;
» more...

Return Value

  • A pair of iterators bounding the matching range.
  • A pair of const iterators bounding the matching range.

Parameters

NameDescription
keyThe key to search for.