c++STL容器之queue容器

队列:先进先出。

一、构造函数

queue<T> que;
queue(const queue &que);

二、赋值操作

queue& operator=(const queue &que);

三、数据存取

push(ele);
pop();
back();
front();

四、大小操作

empty();
size();
原文地址:https://www.cnblogs.com/xiximayou/p/12111651.html