The std::istrstream and std::ostrstream classes are long-deprecated and will be removed in C++17. They have been used as an efficient mechanism to read/write a user-provided character array as a stream, without ownership semantics (i.e. don't assume a particular allocation method and leave deallocation to the user).
The
std::istrstream
andstd::ostrstream
classes are long-deprecated and will be removed in C++17. They have been used as an efficient mechanism to read/write a user-provided character array as a stream, without ownership semantics (i.e. don't assume a particular allocation method and leave deallocation to the user).The recommended replacements for this use case are
boost::iostreams::array_source
andboost::iostreams::array_sink
.