Export (0) Print
Expand All

unitbuf 

Causes output to be processed when the buffer is not empty.


ios_base& unitbuf(
   ios_base& _Str
);

Parameters

_Str

A reference to an object of type ios_base, or to a type that inherits from ios_base.

A reference to the object from which _Str is derived.

Note that endl also flushes the buffer.

nounitbuf is in effect by default.

The manipulator effectively calls _Str.setf(ios_base::unitbuf), and then returns _Str.

Header: <ios>

Community Additions

ADD
Show:
© 2014 Microsoft