We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.


A type that provides the base container to be adapted.

typedef Container container_type;

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.

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

Header: <queue>

Namespace: std