std::swap(std::basic_fstream)
Da cppreference.com
< cpp | io | basic fstream
![]() | 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. |
template<class T > void swap( basic_fstream<T>&lhs, basic_fstream<T>&rhs ); | ||
Especializa o algoritmo std::swap para std::basic_fstream. Bolsas de valores do estado de
lhs
com a de rhs
. Efetivamente chama lhs.swap(rhs).Original:
Specializes the std::swap algorithm for std::basic_fstream. Exchanges the state of
lhs
with that of rhs
. Effectively calls lhs.swap(rhs).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.
Índice |
[editar]Parâmetros
lhs, rhs | - | fluxos cujo estado para trocar Original: streams whose state to swap 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
(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]Exceções
(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]Exemplo
Esta seção está incompleta Motivo: sem exemplo |
[editar]Veja também
(C++11) | troca dois fluxos de arquivo Original: swaps two file streams 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) |