clear method

void clear()

Clear all the items from the stack.

Implementation

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