explicit ostringstream ( openmode mode = out );
explicit ostringstream ( const string & str, openmode mode = out );
Construct an object and optionally initialize string content.
Constructs an object of class ostringstream including the initialization of the associated stringbuf object and the call to its base class' constructor with the stringbuf object as constructor parameter.
Additionally, in case the second constructor syntax is used, the stream's buffer is initialized with the content of the STL string object str as if a call to member str.
Partager