Export (0) Print
Expand All


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

ios_base& unitbuf( 
   ios_base& _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>

Namespace: std

© 2015 Microsoft