Finds the element with the given key.
Synopses
Declared in <absl/container/linked_hash_set.h>
Finds the element with the given key.
template<typename K = key_type>
iterator
find(key_arg<K> const& key);
Finds the element with the given key.
template<typename K = key_type>
const_iterator
find(key_arg<K> const& key) const;
Return Value
-
An iterator to the element, or
end()if not found. -
A const iterator to the element, or
end()if not found.
Parameters
Name |
Description |
key |
The key to search for. |
Created with MrDocs