Return a const iterator to the first element.

Synopsis

Declared in <bslstl_vector.h>

vectorBase<VALUE_TYPE>::const_iterator
cbegin() const noexcept;

Description

Return an iterator providing non‐modifiable access to the first element in this vector, and the past‐the‐end iterator if this vector is empty.

Return Value

const iterator to the beginning, or past‐the‐end if empty

Created with MrDocs