![]() |
Home | Libraries | People | FAQ | More |
Access an element, with bounds checking.
valueconst& at(std::size_tpos,boost::source_locationconst& loc = BOOST_CURRENT_LOCATION) const&;
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 boost::system::system_error
is thrown.
Constant.
|
Name |
Description |
|---|---|
|
|
A zero-based index. |
|
|
|
|
Type |
Thrown On |
|---|---|
boost::system::system_error |
|