Hacker News new | past | comments | ask | show | jobs | submit login

I had a massive memory leak in normal usage of std::stringstream in Visual C++ 2008, which eventually got fixed in an update. Wasted a lot of my time tracking down that leak, though.



stringstream is maybe one of those terrible APIs that bugs remain in because barely anyone uses them :)


I don't think I'd consider std::stringstream to be particularly obscure.


Particularly since it's the easiest way to implement a generic to_string function (prior to C++11).


I use stringstream all the time to prepare complicated output for a logger.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: