Dela via


set::reverse_iterator

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

typedef std::reverse_iterator<iterator> reverse_iterator;

Remarks

A type reverse_iterator is use to iterate through the set in reverse.

Example

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

Requirements

Header: <set>

Namespace: std

See Also

Reference

set Class

Standard Template Library

Other Resources

set Members