queue container c ++ STL containers

Queue: FIFO.

A constructor

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

Second, the assignment

queue& operator=(const queue &que);

3. Data Access

push (him);
pop();
back();
front();

Fourth, the size of the operation

empty();
size();

Guess you like

Origin www.cnblogs.com/xiximayou/p/12111651.html