std:: emit_on_flush, std:: noemit_on_flush
|
헤더 파일에 정의됨
<ostream>
|
||
|
template
<
class
CharT,
class
Traits
>
std:: basic_ostream < CharT, Traits > & emit_on_flush ( std:: basic_ostream < CharT, Traits > & os ) ; |
(1) | (C++20부터) |
|
template
<
class
CharT,
class
Traits
>
std:: basic_ostream < CharT, Traits > & noemit_on_flush ( std:: basic_ostream < CharT, Traits > & os ) ; |
(2) | (C++20부터) |
만약
os.
rdbuf
(
)
가 실제로
std::
basic_syncbuf
<
CharT, Traits, Allocator
>
buf
를 가리키는 경우, 플러시 시 데이터를 기본 스트림 버퍼로 전송하는지 여부를 전환합니다:
그렇지 않으면, 이러한 조작자들은 아무런 효과가 없습니다.
이것은 출력 전용 I/O 조정자이며,
out
<<
std
::
emit_on_flush
와 같은 표현식으로 호출될 수 있습니다. 여기서
out
는
std::basic_ostream
타입의 출력 스트림입니다.
목차 |
매개변수
| os | - | 출력 스트림에 대한 참조 |
반환값
os
(조작 후 스트림에 대한 참조)
예제
|
이 섹션은 불완전합니다
이유: 예제 없음 |
참고 항목
|
현재 emit-on-sync 정책을 변경합니다
(
std::basic_syncbuf<CharT,Traits,Allocator>
의 public 멤버 함수)
|