Subscript operators
Synopses
Declared in <bslstl_vector.h>
Return a reference providing modifiable access to the element at the specified position in this vector. The behavior is undefined unless position < size().
Return a reference to the element at the specified position.
Return Value
-
modifiable reference to the element at
position -
non‐modifiable reference to the element at
position
Parameters
Name |
Description |
position |
element position or insertion point |
Created with MrDocs