BloombergLP::bdlc::FlatHashMap::at

Return a modifiable reference to the mapped value for key.

Synopsis

Declared in <bdlc_flathashmap.h>

VALUE&
at(KEY const& key);

Description

Return a reference providing modifiable access to the mapped value associated with the specified key in this map, if such an entry exists; otherwise throw a std::out_of_range exception. Note that this method is not exception-neutral.

Return Value

modifiable reference to the mapped value for key

Parameters

NameDescription
keykey whose mapped value is accessed