共用方式為


set::pointer

A type that provides a pointer to an element in a set.

typedef typename allocator_type::pointer pointer;

Remarks

A type pointer can be used to modify the value of an element.

In most cases, an iterator should be used to access the elements in a set object.

Requirements

Header: <set>

Namespace: std

See Also

Reference

set Class

Standard Template Library