![]() |
Home | Libraries | People | FAQ | More |
Clear the contents.
constexpr void clear();
Erases all characters from the string. After this call, size()
returns zero.
Linear in size()
.
All references, pointers, or iterators referring to contained elements are invalidated. Any past-the-end iterators are also invalidated.