This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.