class

std::ostringstream

<sstream>
Output string stream class
ostringstream

ostringstream provides an interface to manipulate strings as if they were output streams.

The objects of this class maintain internally a pointer to a stringbuf object that can be obtained/modified by calling member rdbuf. This streambuf-derived object controls a sequence of characters (string) that can be obtained/modified by calling member str.

Public members


Members inherited from ostream



Member functions inherited from ios


Member functions inherited from ios_base