queue-class: Queue class

Description Slots See Also


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.



C++ object representing a deque

See Also

queue for creating a new queue object.

datastructures documentation built on Aug. 10, 2020, 5:08 p.m.