queue::container_type
Collapse the table of content
Expand the table of content

queue::container_type

 

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.

Example

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

Requirements

Header: <queue>

Namespace: std

Show:
© 2016 Microsoft