Glossary: Software Design Patterns in C++
String stream
Also written: std::ostringstream, ostringstream, <sstream>
`std::ostringstream` takes `<<` like `cout` but collects the text in a string, which `.str()` returns. The `money` helper uses one.
Glossary: Software Design Patterns in C++
Also written: std::ostringstream, ostringstream, <sstream>
`std::ostringstream` takes `<<` like `cout` but collects the text in a string, which `.str()` returns. The `money` helper uses one.