Export (0) Print
Expand All


A type that provides the base container to be adapted.

typedef Container container_type;

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

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

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

Header: <queue>

Namespace: std

© 2014 Microsoft