list::const_reverse_iterator

A type that provides a bidirectional iterator that can read any const element in a list.

typedef std::reverse_iterator<const_iterator> const_reverse_iterator;

Remarks

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

Example

See the example for rbegin.

Requirements

Header: <list>

Namespace: std

See Also

Reference

list Class

Standard Template Library