stack-class: Stack class

Description Slots


Implementation of a stack data structure, i.e. a list implementation with LIFO principle. stack uses a std::deque as default container, so inserting, peeking and popping functions require constant O(1). See queue for a class using the FIFO principle.



C++ object representing a deque

datastructures documentation built on Aug. 17, 2018, 1:03 a.m.