![]() |
Home | Libraries | People | FAQ | More |
Access an element, with bounds checking.
boost::system::result<valueconst & > try_at(std::size_tpos) const noexcept;
Returns boost::system::result containing a reference to the
element of the underlying array, if pos
is within its range. If pos
is outside of that range, or the underlying value is not an array the
result contains an error_code.
No-throw guarantee.
|
Name |
Description |
|---|---|
|
|
A zero-based array index. |
Constant.