cppreference.com -> C++ Queues

C++ Queues

The C++ Queue is a container adapter that gives the programmer a FIFO (first-in, first-out) data structure.

back() returns the last element
empty() true if the queue is empty
front() returns the first element
pop() removes the first element
push() adds an element to the end of the queue
size() returns the number of elements in the queue