std::basic_ios::move
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 move( basic_ios& other ); | (dal C++11) | |
protected: void move( basic_ios&& other ); | (dal C++11) | |
Sostituisce lo stato attuale con quella di
other
, tranne per il rdbuf
associato. other
è in stato valido, ma non specificato dopo la chiamata. Dopo la chiamata a questa funzione, restituisce rdbuf()
NULL, e other.rdbuf() restituisce lo stesso valore di prima della chiamata.Original:
Replaces the current state with that of
other
, except for the associated rdbuf
. other
is in valid, but unspecified state after the call. After the call to this function, rdbuf()
returns NULL, and other.rdbuf() returns the same value 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 membro è protetta: viene chiamato dai costruttori movimento protette delle classi stream derivate std::basic_ostream e std::basic_istream, che, a loro volta, sono chiamati dai costruttori movimento pubblici delle classi ulteriori flussi derivati, come std::basic_ofstream, che sanno come correttamente spostare il streambuffer associato.
Original:
This member function is protected: it is called by the protected move constructors of the derived stream classes std::basic_ostream and std::basic_istream, which, in turn, are called by the public move constructors of the further derived stream classes such as std::basic_ofstream, which know how to correctly move the associated streambuffer.
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]Parametri
other | - | l'oggetto basic_ios di trasferire lo stato daOriginal: the basic_ios object to transfer the state fromThe 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]Vedi anche
swap con un'altra std::basic_ios tranne rdbuf Original: swaps with 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) |