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

Name

Description

key

The key to look up.

Created with MrDocs