C++ Language/Std/Stl/Adapters/Queue

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

By default, std::queue<int> uses a STL deque as its underlying collection class. This "queue" supports theoretical operations push(123) (essentially just a re-naming of push_back()) and pop() (essentially just a re-naming of pop_front()).

Additional information about queues (includes interactive examples)