absl::linked_hash_set::find

Finds the element with the given key.

Synopsis

Declared in <absl/container/linked_hash_set.h>

template<typename K = key_type>
const_iterator
find(key_arg<K> const& key) const;

Return Value

A const iterator to the element, or end() if not found.

Parameters

NameDescription
keyThe key to search for.