SyntaxFix
Write A Post
Hire A Developer
Questions
These do not discard the data in the stringstream in gnu c++
m.str(""); m.str() = ""; m.str(std::string());
The following does empty the stringstream for me:
m.str().clear();