std::basic_ios::clear
De 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 ); |
||
Borra los indicadores de error de flujo de estado asignándoles el valor de
state. Si rdbuf() == 0 state | badbit entonces se le asigna. Puede producir una excepción .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.
Contenido |
[editar] Parámetros
| state | - | nuevos indicadores de estado de error de ajuste. Puede ser una combinación de las siguientes constantes:
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. | ||||||||||||||||||||||||||||||||||||||||
[editar] Valor de retorno
(Ninguno)
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.
[editar] Ejemplo
| This section is incomplete Reason: no example |
[editar] Ver también
| establece indicadores de estado 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. (miembro público función) | |
| devuelve las banderas estatales 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. (miembro público función) | |