Queue

  • std::queue C++
    The Standard Template Library (STL) provides a queue container that implements a First-In-First-Out (FIFO) data structure. It is similar to a real-life queue where elements are inserted at the back and removed from the front. The STL queue is a wrapper around a container adaptor that can use deque, list, or vector as its underlying container.