std::basic_ios::move
De cppreference.com
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
protected: void move( basic_ios& other ); |
(depuis C++11) | |
protected: void move( basic_ios&& other ); |
(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.
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.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Paramètres
other | - | l'objet
basic_ios pour transférer l'état deOriginal: 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. |
[modifier] 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.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Voir aussi
swaps avec une autre std::basic_ios sauf pour 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. (fonction membre protégée) |