Share via


set::const_iterator

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

typedef implementation-defined const_iterator;

Remarks

A type const_iterator cannot be used to modify the value of an element.

Example

See the example for begin for an example that uses const_iterator.

Requirements

Header: <set>

Namespace: std

See Also

Reference

set Class

Standard Template Library

Other Resources

set Members