std::ostrstream::str (3) Linux Manual Page
std::ostrstream::str – std::ostrstream::str Synopsis char *str(); Returns the pointer to the beginning of the buffer, after freezing it. Effectively calls rdbuf()->str() Notes Before a call to str() that uses the result as a C string, the stream buffer must be null-terminated. Regular output such as with stream << 1.2 does not store a null terminator,…
