Udostępnij za pośrednictwem


set::const_reverse_iterator

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

typedef std::reverse_iterator<const_iterator> const_reverse_iterator;

Remarks

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

Example

See the example for rend for an example of how to declare and use the const_reverse_iterator.

Requirements

Header: <set>

Namespace: std

See Also

Reference

set Class

Standard Template Library

Other Resources

set Members