Condividi tramite


vector::size_type

A type that counts the number of elements in a vector.

typedef typename Allocator::size_type size_type;

Example

See the example for capacity.

Requirements

Header: <vector>

Namespace: std

See Also

Concepts

vector Class

vector Members

Standard Template Library