Clears the contents of the container.
void clear();
This function clears the contents of the container as if calling erase(begin(), end()).
erase(begin(), end())