std::basic_ios::swap
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. |
protected: void swap( basic_ios& other ); |
(dal C++11) | |
Scambi gli stati di *this
other
e, fatta eccezione per gli oggetti rdbuf
associati. rdbuf()
other.rdbuf() e restituisce gli stessi valori di prima della chiamata.Original:
Exchanges the states of *this and
other
, except for the associated rdbuf
objects. rdbuf()
and other.rdbuf() returns the same values as before the call.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.
Questa funzione di swap è protetto: si chiama da funzioni membro lo swap delle classi di flussi derivati, come std::basic_ofstream o std::basic_istringstream, che sanno scambiare correttamente le streambuffers associati.
Original:
This swap function is protected: it is called by the swap member functions of the derived stream classes such as std::basic_ofstream or std::basic_istringstream, which know how to correctly swap the associated streambuffers.
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.
Indice |
[modifica] Parametri
other | - | l'oggetto
basic_ios di scambiare lo stato conOriginal: the basic_ios object to exchange the state withThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[modifica] 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.
You can help to correct and verify the translation. Click here for instructions.
[modifica] Eccezioni
[modifica] Vedi anche
si sposta da un'altra std::basic_ios tranne rdbuf Original: moves from another std::basic_ios except for rdbuf The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (protetto funzione membro) |