TotalContainer.clear

void clear()

Removes all contents from the container. The container decides how capacity is affected.

Postcondition: empty

Complexity: n