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
This is an older version of Boost and was released in 2022. The current version is 1.90.0.
Access an element, with bounds checking.
value& at( std::size_t pos);
Returns a reference to the element specified at location pos, with bounds checking. If pos is not within the range of the
container, an exception of type std::out_of_range
is thrown.
Constant.
|
Name |
Description |
|---|---|
|
|
A zero-based index. |
|
Type |
Thrown On |
|---|---|
|
|
|