MSVC.NET 2005 and std::stringstream ... grrrr

topic posted Mon, October 16, 2006 - 9:04 PM by 
Share/Save/Bookmark
Advertisement

Hello, all ...

I'm finding that MSVC.NET 2005's stringstream (and o / i variants) leak memory when used as parameters (passing them by reference to other methods). I'm facing the possibility of rewriting all of our code that uses them to use something else (the few that i've replaced with -- ugh -- const char *, have resulted in less leakage) ... has anyone else seen this? Also, our code has to be portable across Win32 and Mac OSX (*nix), so we would like to keep platform-specific solutions to a minimum, so we're all about using the C++ library, STL, Boost, stuff like that.

Grrrr.

Regards,

John

Falling You - exploring the beauty of voice and sound
www.fallingyou.com
posted by:
Advertisement
Advertisement