Share via


list::size_type

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

typedef typename Allocator::size_type size_type;

Example

See the example for size.

Requirements

Header: <list>

Namespace: std

See Also

Reference

list Class

Standard Template Library