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);

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;

Return Value

  • A reference to the mapped value.

  • A const reference to the mapped value.

Parameters

Name

Description

key

The key to look up.

Created with MrDocs