std::swap(std::basic_string)
Da cppreference.com.
                    
                                        
                    < cpp | string | basic string
                    
                                                            
                    | 
   | 
  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.  | 
|   template< class T, class Alloc > void swap( basic_string<T,Alloc> &lhs, basic_string<T,Alloc> &rhs );  | 
||
Specializzato l'algoritmo std::swap per std::basic_string. Scambia il contenuto di 
lhs e rhs. Chiamate lhs.swap(rhs).Original:
Specializes the std::swap algorithm for std::basic_string. 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.
Indice | 
[modifica] Parametri
| lhs, rhs | - |    stringhe il cui contenuto di scambiare 
Original:  strings 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.  | 
[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] Complessità
Costante.
Original:
Constant.
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
|     swap il contenuto   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. (metodo pubblico)  | |