[#bsl-basic_osyncstream-sentry]
= xref:bsl.adoc[bsl]::xref:bsl/basic_osyncstream.adoc[basic&lowbar;osyncstream]::sentry
:relfileprefix: ../../
:mrdocs:

Performs setup work for output streams&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class sentry;
----

== Description

Objects of this class are created before all of the standard inserters are run&period; It is responsible for _exception&hyphen;safe prefix and suffix operations_&period;


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