Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Access an element, with bounds checking.
boost::system::result<value& > try_at(string_viewkey) noexcept;
Returns boost::system::result containing a reference to the
element of the underlying object, if pos
is within its range. If pos
is outside of that range, or the underlying value is not an object the
result contains an error_code.
No-throw guarantee.
|
Name |
Description |
|---|---|
|
|
The key of the element to find. |
Constant.