std::swap(std::function)
Da cppreference.com.
< cpp | utility | functional | function
|
|
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 R, class Args... > void swap( function<R(Args...)> &lhs, function<R(Args...)> &rhs ); |
||
Sovraccarico l'algoritmo std::swap per std::function. Scambi lo stato di
lhs con quella di rhs. Chiama efficacemente lhs.swap(rhs).Original:
Overloads the std::swap algorithm for std::function. Exchanges the state of
lhs with that of rhs. Effectively 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 | - | wrapper di funzioni polimorfiche i cui stati di scambiare
Original: polymorphic function wrappers whose states 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] Eccezioni
(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] Esempio
| This section is incomplete Reason: no example |
[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. (membro pubblico funzione) | |