Aspects


vs


Ostream

In C++ std::ostream is the base class for output streams.

Ostringstream

Output stream class to operate on strings.

Others

Quality Example
More

"Ostream is more general subclasses support writing to different places ostringstream is a specific one writing to a string"

from question "C++: What is the difference between ostream and ostringstream?"

Back to Home
Data comes from Stack Exchange with CC-BY-SA-3.0