Flush the output stream, completing any open start tag first.
Declared in <balxml_formatter_compactimpl.h>
static
std::ostream&
flush(
std::ostream& stream,
State* state);
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.
a reference to the modifiable stream
| Name | Description |
|---|---|
| stream | output stream |
| state | formatter state to consult and update |