I recently discovered that std::strstream
has been deprecated in favor of std::stringstream
. It's been a while since I've used it, but it did what I needed to do at the time, so was surprised to hear of its deprecation.
My question is why was this decision made, and what benefits does std::stringstream
provide that are absent from std::strstream
?
strstream
has been deprecated in EVERY standard, it still perplexes me why they were ever added to the standard… – Overprint