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> の公開メンバ関数)