std::basic_ios::move
Da 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 ); |
(desde C++11) | |
protected: void move( basic_ios&& other ); |
(desde C++11) | |
Substitui o estado atual com o de
other
, exceto para o rdbuf
associado. other
está em estado válido, mas não especificado após a chamada. Após a chamada para esta função, retorna rdbuf()
NULL, e other.rdbuf() retorna o mesmo valor de antes da chamada.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.
Essa função membro é protegido: ele é chamado pelos construtores movimento protegidas das classes de fluxo derivados std::basic_ostream e std::basic_istream, que, por sua vez, são chamados pelos construtores movimento público das classes de fluxo mais derivados como std::basic_ofstream, que sabem como fazer corretamente mover o streambuffer associado.
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.
[editar] Parâmetros
other | - | o objecto
basic_ios para transferir o estado 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. |
[editar] Valor de retorno
(Nenhum)
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.
[editar] Veja também
swaps com outro std::basic_ios exceto para 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. (protegido função de membro) |