If this stream is valid, invoke the pubsync method on the underlying stream supplied at construction of this object; otherwise, this function has no effect.
pubsync
Declared in <bslx_genericoutstream.h>
<bslx_genericoutstream.h>
GenericOutStream<STREAMBUF>& flush();