共用方式為


set::size_type

An unsigned integer type that can represent the number of elements in a set.

typedef typename allocator_type::size_type size_type;

Example

See the example for size for an example of how to declare and use size_type

Requirements

Header: <set>

Namespace: std

See Also

Reference

set Class

Standard Template Library

Other Resources

set Members