std::swap(std::basic_filebuf)
Da cppreference.com
< cpp | io | basic filebuf
![]() |
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 CharT, class Traits > void swap(std::basic_filebuf<CharT, Traits>& lhs, |
(desde C++11) | |
Sobrecarrega o algoritmo std::swap para std::basic_filebuf. Bolsas de valores do estado de
lhs
com a de rhs
. Efetivamente chama lhs.swap(rhs).Original:
Overloads the std::swap algorithm for std::basic_filebuf. 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 | - | std::basic_filebuf objetos cujos estados para trocar
Original: std::basic_filebuf objects whose states 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] Exemplo
Esta seção está incompleta Motivo: sem exemplo |
[editar] Veja também
(C++11) |
troca dois objetos basic_filebuf Original: swaps two basic_filebuf objects 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) |
troca os valores dos dois objetos Original: swaps the values of two objects The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (modelo de função) |