logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

zipios::OutputStringStream - OutputStringStream is typedefed to ostringstream if sstream is part of the

Author

       Generated automatically by Doxygen for Zipios++ from the source code.

Zipios++                                         Tue Mar 24 2020                   zipios::OutputStringStream(3)

Detailed Description

OutputStringStream is typedefed to ostringstream if sstream is part of the standard library (unless
       Zipios++ has been explicitly configured not to use it).

       If sstream is not present OutputStringStream is a subclass of ostrstream from strstream.h. In this case
       OutputStringStream specializes the str() method, such that the caller does not have to concern himself
       with null-terminating the string and unfreezing the ostrstream.

       Definition at line 24 of file outputstringstream.h.

Member Function Documentation

stringzipios::OutputStringStream::str()[inline]
       Specialization of ostrstream::str() that takes care of null-terminating the string and unfreezing the
       ostrstream.

       Definition at line 29 of file outputstringstream.h.

Name

       zipios::OutputStringStream - OutputStringStream is typedefed to ostringstream if sstream is part of the
       standard library (unless Zipios++ has been explicitly configured not to use it).

Synopsis

       #include <outputstringstream.h>

       Inherits ostrstream.

   PublicMemberFunctions
       string str ()
           Specialization of ostrstream::str() that takes care of null-terminating the string and unfreezing the
           ostrstream.

See Also