◐ Shell
clean mode source ↗

std::basic_ifstream::close - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Fecha o arquivo associado.

Original:

Closes the associated file.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Efetivamente chama rdbuf()->close(). Se um erro ocorrer durante a operação, é chamado setstate(failbit).

Original:

Effectively calls rdbuf()->close(). If an error occurs during operation, setstate(failbit) is called.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Parâmetros

(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.

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.

Exemplo

Veja também

Verifica se o fluxo tem um arquivo associado

Original:

checks if the stream has an associated file

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) [edit]

abre um arquivo e associa com o fluxo

Original:

opens a file and associates it with the stream

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) [edit]