std::swap(std::pair)
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. |
template< class T1, class T2 > void swap( pair<T1,T2>& lhs, pair<T1,T2>& rhs ); |
||
Swaps le contenu de
lhs
et rhs
. Equivalent à lhs.swap(rhs) .Original:
Swaps the contents of
lhs
and rhs
. Equivalent to 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.
Sommaire |
[modifier] Paramètres
lhs, rhs | - | couples dont les contenus à échanger
Original: pairs 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. |
[modifier] Retourne la valeur
(Aucun)
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.