clear method

void clear()

clear the stack.

Implementation

void clear() {
  queue.clear();
}