std::vector<bool>::swap
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<tbody> </tbody>| Elemento definito nell'header <vector>
|
||
static void swap(reference x, reference y); |
||
Scambia il contenuto di
x e 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.
Parametri
| x | - | std::vector<bool>::reference valore da scambiare con 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 valore da scambiare con 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. |
Valore di ritorno
(Nessuno)
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.
Vedi anche
classe proxy che rappresenta un riferimento a un singolo 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) | |
specializzata l'algoritmo 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. (funzione di modello) | |