[#BloombergLP-balxml-Formatter_CompactImplUtil-flush] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Formatter_CompactImplUtil.adoc[Formatter_CompactImplUtil]::flush :relfileprefix: ../../../ :mrdocs: Flush the output stream, completing any open start tag first. == Synopsis Declared in `<balxml_formatter_compactimpl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static std::ostream& flush( std::ostream& stream, xref:BloombergLP/balxml/Formatter_CompactImplUtil/State.adoc[State]* state); ---- == Description Insert the closing `>` if there is an incomplete tag, and flush the specified output `stream`, with formatting depending on the specified `state`, and update `state` accordingly. Return the `stream`. == Return Value a reference to the modifiable `stream` == Parameters [cols="1,4"] |=== | Name| Description | *stream* | output stream | *state* | formatter state to consult and update |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#