Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining


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

© 2015 Microsoft