std::swap(std::unique_lock)
Da cppreference.com.
< cpp | thread | unique lock
![]() |
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 Mutex > void swap( unique_lock<Mutex> &lhs, |
||
Specializzato l'algoritmo std::swap per std::unique_lock. Scambi lo stato di
lhs
con quella di rhs
. Chiama efficacemente lhs.swap(rhs).Original:
Specializes the std::swap algorithm for std::unique_lock. 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 bloccare i cui stati di scambiare
Original: lock 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
[modifica] Esempio
This section is incomplete Reason: no example |
[modifica] Vedi anche
swap di indicare con un altro std::unique_lock Original: swaps state with another std::unique_lock The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) |