cpp/io/manip/unitbuf

Enables or disables automatic flushing of the output stream after any output operation. Has no effect on input.

1) enables the flag in the stream  as if by calling

2) disables the flag in the stream  as if by calling

This is an I/O manipulator, it may be called with an expression such as for any  of type std or with an expression such as  for any  of type std.

Return value
(reference to the stream after manipulation)