[#BloombergLP-balxml-Formatter_PrettyImplUtil-flush]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balxml.adoc[balxml]::xref:BloombergLP/balxml/Formatter_PrettyImplUtil.adoc[Formatter&lowbar;PrettyImplUtil]::flush
:relfileprefix: ../../../
:mrdocs:

Insert the closing `&gt;` if there is an incomplete tag, and flush the specified output `stream`, with formatting depending on the specified `state`, and update `state` accordingly&period; Return the `stream`&period;

== Synopsis

Declared in `&lt;balxml&lowbar;formatter&lowbar;prettyimpl&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
std::ostream&
flush(
    std::ostream& stream,
    xref:BloombergLP/balxml/Formatter_PrettyImplUtil/State.adoc[State]* state);
----


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