std::vector<bool>::swap
Da cppreference.com.
< cpp | container | vector bool
![]() | 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. |
Elemento definito nell'header <vector> | ||
staticvoid 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.
[modifica]Parametri
x | - | std::vector<bool>::reference valore da scambiare con y Original: std::vector<bool>::reference value to swap with y The 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 x Original: std::vector<bool>::reference value to swap with x The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[modifica]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.
[modifica]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) |