命名空间
变体
操作

std::queue<T,Container>::pop

来自 cppreference.cn
< cpp‎ | 容器‎ | queue
void pop();

从队列的前端移除一个元素。实际上调用 c.pop_front()

目录

[编辑] 参数

(无)

[编辑] 返回值

(无)

[编辑] 复杂度

等同于 Container::pop_front 的复杂度。

[编辑] 示例

[编辑] 参阅

(C++11)
在末尾就地构造元素
(public member function) [edit]
在末尾插入元素
(public member function) [edit]
访问第一个元素
(public member function) [edit]