[#bsl-flush_emit] = xref:bsl.adoc[bsl]::flush_emit :relfileprefix: ../ :mrdocs: Flush `stream` and emit from a backing `basic_syncbuf` if present. == Synopsis Declared in `<bslstl_ostream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class CHAR, class TRAITS> basic_ostream<CHAR, TRAITS>& flush_emit(basic_ostream<CHAR, TRAITS>& stream); ---- == Description Flush the specified `stream` as if by calling `stream.flush()`. Then, if `stream.rdbuf()` actually points to a `basic_syncbuf<CHAR,TRAITS,ALLOCATOR>` `buf`, call `buf.emit()`. Return `stream`. == Return Value a reference to `stream` == Parameters [cols="1,4"] |=== | Name| Description | *stream* | output stream that may wrap a `basic_syncbuf` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#