std::basic_ios::clear
Aus 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. |
<metanoindex/>
<tbody> </tbody> void clear( iostate state = goodbit ); |
||
Löscht die Stream error state flags, indem Sie ihnen den Wert der
state. Wenn rdbuf() == 0 dann state | badbit zugeordnet ist. Kann eine Ausnahme werfen .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.
Parameter
| state | - | neuer Fehler Status-Flags setzen. Es kann eine Kombination der folgenden Konstanten sein:
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. | ||||||||||||||||||||||||||||||||||||||||
Rückgabewert
(None)
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.
Beispiel
| This section is incomplete Reason: no example |
Siehe auch
} setzt Staatsflaggen 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. (öffentliche Elementfunktion) | |
| gibt Statusflaggen (öffentliche Elementfunktion) | |