clear method

void clear()

Removes all elements from the vector.

Implementation

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