Finds the element with the given key.

Synopses

Declared in <absl/container/linked_hash_map.h>

Finds the element with the given key.

template<class K = key_type>
iterator
find(key_arg<K> const& key);

Finds the element with the given key.

template<class 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