---
name: "zipios_OutputStringStream"
section: "3"
platform: "linux"
package: "libzipios++-dev"
version: "0.1.5.9+cvs.2007.04.28-6"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/zipios_OutputStringStream"
---

# zipios\_OutputStringStream(3)

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

## 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.

### Public Member Functions

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

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

### string zipios::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.

## Author

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