Return a const reference to the mapped value for key.
Declared in <bdlc_flathashmap.h>
VALUE const&
at(KEY const& key) const;
Return a reference providing non-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.
const reference to the mapped value for key
| Name | Description |
|---|---|
| key | key whose mapped value is accessed |