std::basic_iostream::operator=
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. |
<metanoindex/>
<tbody> </tbody> basic_iostream& operator=( const basic_iostream& other ) = delete; |
(1) | |
protected: basic_iostream& operator=( basic_iostream&& other ); |
(2) | (desde C++11) |
Atribui outro objeto de fluxo.
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)
Atribuição de cópia não é 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 atribui outro objeto de fluxo. Efetivamente chama
swap(rhs). Este operador de atribuição movimento é protegido: ele é chamado pelos operadores de movimentação de atribuição das classes de fluxo derivados std::basic_stringstream e std::basic_fstream que saber como fazer corretamente mover-atribuir os buffers de fluxo associados.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.
Parâmetros
| other | - | outro fluxo para atribuir Paulo
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. |
Valor de retorno
*this
Veja também
Constrói o 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. (função pública membro) |