◐ Shell
clean mode source ↗

std::basic_fstream::swap - cppreference.com

Da cppreference.com.

Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.

La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui.

Click here for the English version of this page

<metanoindex/>

<tbody> </tbody>

void swap( basic_fstream& other );

(dal C++11)

Scambi lo stato del flusso con quelli di other.

Original:

Exchanges the state of the stream with those of other.

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

Questa operazione viene eseguita chiamando basic_istream<CharT, Traits>::swap(other) e rdbuf->swap(other->rdbuf).

Original:

This is done by calling basic_istream<CharT, Traits>::swap(other) and rdbuf->swap(other->rdbuf).

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

Parametri

other -

lo streaming di scambiare lo stato con

Original:

stream to exchange the state with

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

Valore di ritorno

(Nessuno)

Original:

(none)

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

Esempio

Vedi anche

sposta il flusso di file

Original:

moves the file stream

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


(metodo pubblico) [modifica]

swap due oggetti basic_filebuf

Original:

swaps two basic_filebuf objects

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


(metodo pubblico) [modifica]