Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

vector::const_reverse_iterator

A type that provides a random-access iterator that can read any const element in the vector.

typedef std::reverse_iterator<const_iterator> const_reverse_iterator;

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

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

Header: <vector>

Namespace: std

Show:
© 2015 Microsoft