Return a modifiable reference to the element at position.
Synopsis
Declared in <bslstl_vector.h>
vectorBase<VALUE_TYPE>::reference
at(size_type position);
Description
Throw a std::out_of_range exception if position >= size().
Return Value
modifiable reference to the element at position
Parameters
Name |
Description |
position |
zero‐based index of the element |
Created with MrDocs