[#bsl-basic_ostringstream-sentry-2constructor]
= xref:bsl.adoc[bsl]::xref:bsl/basic_ostringstream.adoc[basic&lowbar;ostringstream]::xref:bsl/basic_ostringstream/sentry.adoc[sentry]::sentry
:relfileprefix: ../../../
:mrdocs:

Prepare `outputStream` for formatted or unformatted output&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;ostringstream&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
sentry(xref:bsl/basic_ostringstream.adoc[BaseStream]& outputStream);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *outputStream*
| stream to prepare
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
