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.
Declared in <balxml_formatter_prettyimpl.h>
static
std::ostream&
flush(
std::ostream& stream,
State* state);