Return a reference providing non‐modifiable access to the element at the specified position in this vector. Throw a bsl::out_of_range exception if position >= size().

Synopsis

Declared in <bslstl_vector.h>

const_reference
at(size_type position) const;

Created with MrDocs