![]() |
Home | Libraries | People | FAQ | More |
Access the specified element, with bounds checking.
value& at(string_viewkey,boost::source_locationconst& loc = BOOST_CURRENT_LOCATION) &;
Returns a reference to the mapped value of the element that matches
key, otherwise throws.
Constant on average, worst case linear in size().
Strong guarantee.
A reference to the mapped value.
|
Name |
Description |
|---|---|
|
|
The key of the element to find. |
|
|
|
|
Type |
Thrown On |
|---|---|
boost::system::system_error |
if no such element exists. |