[#bsl-basic_osyncstream-emit] = xref:bsl.adoc[bsl]::xref:bsl/basic_osyncstream.adoc[basic_osyncstream]::emit :relfileprefix: ../../ :mrdocs: 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. If an error occurs, set the `badbit` of the `rdstate` to `true`. == Synopsis Declared in `<bslstl_osyncstream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void emit(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#