queue c++ example clear Example: restting a queue stl // To clear the queue Q defined as "queue<int> Q" Q = queue<int>();