Clear the contents while preserving the capacity.
void clear();
this->empty() == true
Constant.
No-throw guarantee.