std::basic_ios::copyfmt
来自cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| basic_ios& copyfmt(const basic_ios& other); |
||
复制的的格式化标志从流
1) other。这是在下面的序列:Original:
Copies the formatting flags from stream
other. This is done in the following sequence:The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
呼叫回调,注册register_callback()erase_event作为参数传递
2) Original:
Calls callbacks, registered by register_callback() passing erase_event as parameter
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
复制的格式信息从
3) other*this。内部数据数组也被复制。 rdstate()保持不变.Original:
Copies the formatting information from
other to *this. Internal data array is also copied. rdstate() is left unchanged.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
呼叫回调,注册register_callback()copyfmt_event作为参数传递
4) Original:
Calls callbacks, registered by register_callback() passing copyfmt_event as parameter
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
复制异常掩码从
other*this.Original:
Copies the exception mask from
other to *this.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
设置流的错误标志
state除了目前设置标志。从本质上要求clear(rdstate() | state)。可能会抛出一个异常.Original:
Sets the stream error flags
state in addition to currently set flags. Essentially calls clear(rdstate() | state). May throw an exception.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[编辑] 参数
| other | - | 另一个流作为源使用
Original: another stream to use as source The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[编辑] 返回值
*this
[编辑] 为例
| 本节是不完整的 原因: no example |