bsl::vectorBase::back

Return a modifiable reference to the last element.

Synopsis

Declared in <bslstl_vector.h>

vectorBase<VALUE_TYPE>::reference
back();

Description

The behavior is undefined unless this vector is not empty.

Return Value

modifiable reference to the last element