Namespaces
Variants

std:: flush_emit

From cppreference.net
< cpp ‎ | io ‎ | manip
헤더 파일에 정의됨 <ostream>
template < class CharT, class Traits >
std:: basic_ostream < CharT, Traits > & flush_emit ( std:: basic_ostream < CharT, Traits > & os ) ;
(C++20 이후)

출력 시퀀스 os os. flush ( ) 를 호출하는 것처럼 플러시합니다. 그런 다음 os. rdbuf ( ) 가 실제로 std:: basic_syncbuf < CharT, Traits, Allocator > buf 를 가리키는 경우, buf. emit ( ) 를 호출합니다.

이것은 출력 전용 I/O 조정자이며, out << std :: flush_emit 와 같은 표현식으로 호출될 수 있습니다. 여기서 out std::basic_ostream 타입의 출력 스트림입니다.


목차

매개변수

os - 출력 스트림에 대한 참조

반환값

os (조작 후 스트림에 대한 참조)

예제

참고 항목

기본 저장 장치와 동기화
( std::basic_ostream<CharT,Traits> 의 public 멤버 함수)