front overloads

Synopses

Declared in <bslstl_vector.h>

Return a reference providing modifiable access to the first element in this vector. The behavior is undefined unless this vector is not empty.

Return a reference providing non‐modifiable access to the first element in this vector. The behavior is undefined unless this vector is not empty.

Return Value

  • modifiable reference to the first element

  • non‐modifiable reference to the first element

Created with MrDocs