accesses the element with the given key, with bounds checking
Synopsis
Declared in <nlohmann/ordered_map.hpp>
T const&
at(key_type const& key) const;
Exceptions
Name |
Thrown on |
|
if the container does not have an element with the given key |
Return Value
const reference to the value associated with key
Parameters
Name |
Description |
key [in] |
key of the element to access |
Created with MrDocs