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

Atomically emit buffered characters to the wrapped stream&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
emit();
----

== Description

Atomically transfer any characters buffered by this object to the wrapped stream buffer, so that it appears in the output stream as a contiguous sequence of characters&period; If an error occurs, set the `badbit` of the `rdstate` to `true`&period;


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