std::basic_ios::clear
提供: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. |
| void clear( iostate state = goodbit ); |
||
彼ら
stateの値を割り当てることによって、ストリームエラー状態フラグをクリアします。 rdbuf() == 0その後state | badbit割り当てられている場合。例外をスローすることがあります.Original:
Clears the stream error state flags by assigning them the value of
state. If rdbuf() == 0 then state | badbit is assigned. 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.
目次 |
[編集] パラメータ
| state | - | 設定する新しいエラー状態フラグ。それは、以下の定数を組み合わせて指定できます。
Original: new error state flags setting. It can be a combination of the following constants:
The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | ||||||||||||||||||||||||||||||||||||||||
[編集] 値を返します
(なし)
Original:
(none)
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.
[編集] 例
| This section is incomplete Reason: no example |
[編集] も参照してください
| 状態フラグを設定します Original: sets state flags The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (パブリックメンバ関数) | |
| 状態フラグを返します Original: returns state flags The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (パブリックメンバ関数) | |