C++ Standard Library queue Sample

Description

queue is a standard container that implements a queue data structure, where elements are inserted at the back of the queue and taken off the front.

Declaration

	template <class T, class C = deque<T> >
	    class std::queue;

Concept

The sample program sets up a queue, and inserts the elements 1, 3, and 19 onto it. The value 1 is taken from the front of the queue, leaving the value 3 at the front.

Supported
Supported
Supported