std::basic_ios::move — cppreference.com
De cppreference.com
<metanoindex/>
<tbody> </tbody>
|
|
(depuis C++11) | |
|
|
(depuis C++11) | |
Remplace l'état actuel de celle de other, à l'exception de la rdbuf associé. other est dans un état valide, mais non précisée après l'appel. Après l'appel de cette fonction, rdbuf() retours NULL et other.rdbuf() renvoie la même valeur qu'avant l'appel .
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.
Cette fonction membre est protégé: il est appelé par les constructeurs déplacer protégées des classes de flux dérivés std::basic_ostream et std::basic_istream, qui, à leur tour, sont appelés par les constructeurs déplacer publiques des autres classes de flux dérivés tels que std::basic_ofstream, qui savent correctement déplacer le streambuffer associé .
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.
Paramètres
| other | - | l'objet Original: the The text has been machine-translated via Google Translate. |
Retourne la valeur
(Aucun)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Voir aussi
swaps avec une autre std::basic_ios sauf pour Original: swaps with another std::basic_ios except for The text has been machine-translated via Google Translate. (fonction membre protégée) [edit] | |