Udostępnij za pośrednictwem


queue::container_type

A type that provides the base container to be adapted.

typedef Container container_type;

Remarks

The type is a synonym for the template parameter Container. Two STL sequence container classes — the list class and the default deque class — meet the requirements to be used as the base container for a queue object. User-defined types satisfying the requirements may also be used.

For more information on Container, see the Remarks section of the queue Class topic.

Example

See the example for queue for an example of how to declare and use container_type.

Requirements

Header: <queue>

Namespace: std

See Also

Reference

queue Class

Standard Template Library

Other Resources

queue Members