...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Put the stream in a newly constructed state.
void clear();
All dynamically allocated memory is de-allocated.