다음을 통해 공유


vector::const_reverse_iterator

A read-only reverse iterator.

typedef std::reverse_iterator<const_iterator> const_reverse_iterator;

Remarks

A const_reverse_iterator cannot modify the value of an element and is used to iterate through the vector in reverse.

Example

See rbegin for an example of how to declare and use a reverse iterator.

Requirements

Header: <vector>

Namespace: std

See Also

Reference

vector Class

Standard Template Library