absl::linked_hash_map::at

Returns a const reference to the value mapped to the given key.

Synopsis

Declared in <absl/container/linked_hash_map.h>

template<class K = key_type>
mapped_type const&
at(key_arg<K> const& key) const;

Return Value

A const reference to the mapped value.

Parameters

NameDescription
keyThe key to look up.