다음을 통해 공유


priority_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. 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 클래스 topic.

예제

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

요구 사항

Header: <queue>

네임스페이스: std

참고 항목

참조

priority_queue 클래스

표준 템플릿 라이브러리