Udostępnij za pośrednictwem


queue::size_type

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

typedef typename Container::size_type size_type;

Remarks

The type is a synonym for the size_type of the base container adapted by the queue.

Example

See the example for queue::front for an example of how to declare and use size_type.

Requirements

Header: <queue>

Namespace: std

See Also

Reference

queue Class

Standard Template Library

Other Resources

queue Members