unitbuf
Causes output to be processed when the buffer is not empty.
ios_base& unitbuf(
ios_base& _Str
);
매개 변수
- _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>
네임스페이스: std