std::swap(std::array)
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. |
Ciclo de predefinições detectado: Predefinição:include page
template< > void swap( array<> &lhs, |
(desde C++11) | |
Especializa o algoritmo std::swap para std::array. Trocar o conteúdo de
lhs
e rhs
. Chamadas lhs.swap(rhs).Original:
Specializes the std::swap algorithm for std::array. Swaps the contents of
lhs
and rhs
. 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 | - | recipientes cujo conteúdo para trocar
Original: containers whose contents 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] Complexidade
Linear in size of the container.
[editar] Veja também
Trocar o conteúdo Original: swaps the contents 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) |