Why was std::strstream deprecated?

Posted by andand on Stack Overflow See other posts from Stack Overflow or by andand
Published on 2010-05-12T15:21:50Z Indexed on 2010/05/12 15:24 UTC
Read the original article Hit count: 210

Filed under:
|
|

I recently discovered that std::strstream has been deprecated in favor of std::stringstream. It's been a while since I've needed it, but it was useful in its way for what I needed to do at the time.

My question is why was this decision made, and what benefits does std::stringstream provide that are absent from std::strstream?

© Stack Overflow or respective owner

Related posts about c++

Related posts about stringstream