C++ Language/Std/Stl/Adapters/Stack

< C++ Language‎ | Std‎ | Stl‎ | Adapters

By default, std::stack<int> uses a STL vector as its underlying collection class. This "stack" supports theoretical operations push(123), pop(), and peeking (named top()).

Additional information about stacks (includes interactive examples)