std::basic_iostream::operator=
De cppreference.com
< cpp | io | basic iostream
![]() |
Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.
La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
basic_iostream& operator=( const basic_iostream& other ) = delete; |
(1) | |
protected: basic_iostream& operator=( basic_iostream&& other ); |
(2) | (desde 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. (función miembro pública) |