Compartilhar via


list::reverse_iterator

A type that provides a bidirectional iterator that can read or modify an element in a reversed list.

typedef std::reverse_iterator<iterator> reverse_iterator;

Remarks

A type reverse_iterator 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