std::basic_ios::clear
Da 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 ); | ||
Limpa o fluxo de bandeiras do estado de erro, atribuindo-lhes o valor de
state
. Se, em seguida, rdbuf()==0state | badbit é atribuído. Pode lançar uma exceção.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.
Índice |
[editar]Parâmetros
state | - | bandeiras novo estado de erro de ajuste. Ela pode ser uma combinação das seguintes 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
(Nenhum)
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]Exemplo
Esta seção está incompleta Motivo: sem exemplo |
[editar]Veja também
define bandeiras estaduais 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. (função pública membro) | |
retorna bandeiras estaduais 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. (função pública membro) |