Return a reference providing modifiable access to the element at the specified position in this vector. The behavior is undefined unless position < size().
Synopsis
Declared in <bslstl_vector.h>
vectorBase<VALUE_TYPE>::reference
operator[](size_type position);
Return Value
modifiable reference to the element at position
Parameters
Name |
Description |
position |
element position or insertion point |
Created with MrDocs