std:: flush_emit
| I/O manipulators | ||||
| Print functions (C++23) | ||||
| C-style I/O | ||||
| Buffers | ||||
|
(C++23)
|
||||
|
(
C++98/26*
)
|
||||
|
(C++20)
|
||||
| Streams | ||||
| Abstractions | ||||
| File I/O | ||||
| String I/O | ||||
| Array I/O | ||||
|
(C++23)
|
||||
|
(C++23)
|
||||
|
(C++23)
|
||||
|
(
C++98/26*
)
|
||||
|
(
C++98/26*
)
|
||||
|
(
C++98/26*
)
|
||||
| Synchronized Output | ||||
|
(C++20)
|
||||
| Types | ||||
| Error category interface | ||||
|
(C++11)
|
||||
|
(C++11)
|
| Floating-point formatting | |||||||||||
|
|||||||||||
| Integer formatting | |||||||||||
| Boolean formatting | |||||||||||
| Field width and fill control | |||||||||||
| Other formatting | |||||||||||
| Whitespace processing | |||||||||||
| Output flushing | |||||||||||
|
|||||||||||
| Status flags manipulation | |||||||||||
| Time and money I/O | |||||||||||
| Quoted manipulator | |||||||||||
|
(C++14)
|
|||||||||||
|
定义于头文件
<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>
的公开成员函数)
|