vector::const_iterator

A type that represents a random-access read-only iterator.

typedef implementation-defined const_iterator;

Remarks

A type const_iterator cannot be used to modify the value of an element.

Requirements

Header: <vector>

Namespace: std

See Also

Reference

vector Class

Standard Template Library