vector::size_type

A type that represents 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

Reference

vector Class

Standard Template Library