priority_queue::container_type

提供将容纳的基容器的类型。

typedef Container container_type;

备注

类型是的同义词。Container模板参数 STL 容器类和序列 deque 默认类与矢量需要使用为基容器。priority_queue 对象。 也可满足要求的用户定义类型。

有关 Container的更多信息,请参见 priority_queue 类 主题的"备注"节。

示例

有关示例的 priority_queue 参见示例演示如何声明和使用 container_type

要求

页眉: <队列>

命名空间: std

请参见

参考

priority_queue 类

标准模板库