Implementation of a queue data structure, i.e. a list
implementation with FIFO principle. queue
uses a std::deque
as default container, so inserting, peeking and popping functions require
constant O(1). See stack
for a class using
the LIFO principle.
.deque
C++
object representing a deque
queue
for creating a new queue
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.