Reference
C Library
IOstream Library
Strings library
STL Containers
STL Algorithms
Miscellaneous
IOstream Library
manipulators
classes:
filebuf
fstream
ifstream
ios
iostream
ios_base
istream
istringstream
ofstream
ostream
ostringstream
streambuf
stringbuf
stringstream
objects:
cerr
cin
clog
cout
types:
fpos
streamoff
streampos
streamsize
ostringstream
ostringstream::ostringstream
member functions:
ostringstream::rdbuf
ostringstream::str


ostringstream

class
<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