std::basic_iostream::operator=
De cppreference.com.
< cpp | io | basic iostream
|
|
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. |
| basic_iostream& operator=( const basic_iostream& other ) = delete; |
(1) | |
| protected: basic_iostream& operator=( basic_iostream&& other ); |
(2) | (depuis C++11) |
Affecte un autre objet de flux .
Original:
Assigns another stream object.
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.
1)
D'affectation de copie n'est pas autorisée .
Original:
Copy assignment is not allowed.
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.
2)
Déplacer assigne un autre objet de flux. Appelle effectivement swap(rhs). Cet opérateur d'affectation mouvement est protégé: il est appelé par les opérateurs d'affectation déplacer des classes de flux dérivés std::basic_stringstream et std::basic_fstream qui savent comment bien se déplacer-affecter les zones tampons associées .
Original:
Move assigns another stream object. Effectively calls swap(rhs). This move assignment operator is protected: it is called by the move assignment operators of the derived stream classes std::basic_stringstream and std::basic_fstream which know how to properly move-assign the associated stream buffers.
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 | - | un autre flux d'affecter l'état de
Original: another stream to assign state of The 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
*this
[modifier] Voir aussi
| Construit l'objet Original: constructs the object The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction membre publique) | |