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) | (ya que C + +11) |
Asigna otro objeto de secuencia .
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)
Asignación de copia no está permitido .
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)
Mover asigna otro objeto de secuencia. Efectivamente llama swap(rhs). El operador de asignación movimiento está protegido: es llamado por los operadores se mueven asignación de las clases de flujos derivados std::basic_stringstream y std::basic_fstream que sabe cómo mover correctamente a asignar los buffers de stream asociados .
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.
[editar] Parámetros
| other | - | otra corriente de asignar estado 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. |
[editar] Valor de retorno
*this
[editar] Ver también
| Construye el objeto 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. (miembro público función) | |