queue

  • queue是队列,只能在队尾插入队头删除,先进先出特点
  • 不支持随机存取、不支持遍历、不支持迭代器

函数

函数十分简单,不多做赘述

returntype front();
returtype back();
void push();
void pop();
bool empty();
int size();
posted @ 2023-02-26 21:25  咕噜噜冒泡  阅读(77)  评论(0)    收藏  举报