std::vector<bool>::swap
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. |
<metanoindex/>
<tbody> </tbody>| Déclaré dans l'en-tête <vector>
|
||
static void swap(reference x, reference y); |
||
Swaps le contenu de
x et y .Original:
Swaps the contents of
x and y.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.
Paramètres
| x | - | std::vector<bool>::reference valeur à échanger avec yOriginal: std::vector<bool>::reference value to swap with yThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| y | - | std::vector<bool>::reference valeur à échanger avec xOriginal: std::vector<bool>::reference value to swap with xThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
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.
Voir aussi
classe proxy qui représente une référence à un seul bool Original: proxy class representing a reference to a single bool The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe) | |
l'algorithme spécialisé std::swap Original: specializes the std::swap algorithm The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (fonction générique) | |