共用方式為


set::iterator

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

typedef implementation-defined iterator;

Example

See the example for begin for an example of how to declare and use an iterator.

Requirements

Header: <set>

Namespace: std

See Also

Reference

<set>

set Class

Standard Template Library