std::basic_ios::copyfmt
来自cppreference.com
|
|
该页由英文版wiki使用Google Translate机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击这里. |
| basic_ios& copyfmt(const basic_ios& other); |
||
复制的的格式化标志从流
1) other。这是在下面的序列:原文:
Copies the formatting flags from stream
other. This is done in the following sequence:呼叫回调,注册register_callback()erase_event作为参数传递
2) 原文:
Calls callbacks, registered by register_callback() passing erase_event as parameter
复制的格式信息从
3) other*this。内部数据数组也被复制。 rdstate()保持不变.原文:
Copies the formatting information from
other to *this. Internal data array is also copied. rdstate() is left unchanged.呼叫回调,注册register_callback()copyfmt_event作为参数传递
4) 原文:
Calls callbacks, registered by register_callback() passing copyfmt_event as parameter
复制异常掩码从
other*this.原文:
Copies the exception mask from
other to *this.设置流的错误标志
state除了目前设置标志。从本质上要求clear(rdstate() | state)。可能会抛出一个异常.原文:
Sets the stream error flags
state in addition to currently set flags. Essentially calls clear(rdstate() | state). May throw an exception.[编辑] 参数
| other | - | 另一个流作为源使用
|
[编辑] 返回值
*this
[编辑] 示例
| 本章尚未完成 原因:暂无示例 |