absl::linked_hash_map::at

at overloads

Synopses

Declared in <absl/container/linked_hash_map.h>

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

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

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

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

Return Value

  • A reference to the mapped value.
  • A const reference to the mapped value.

Parameters

NameDescription
keyThe key to look up.