std::swap(std::unique_lock)
Aus cppreference.com
<metanoindex/>
<tbody> </tbody> template< class Mutex > void swap( unique_lock<Mutex> &lhs, unique_lock<Mutex> &rhs ); |
||
Spezialisiert die std::swap Algorithmus für std::unique_lock. Exchanges den Zustand der
lhs mit der rhs. Effektiv nennt 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.
Parameter
| lhs, rhs | - | sperren Wrapper, deren Zustände zu tauschen
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. |
Rückgabewert
(None)
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.
Ausnahmen
Beispiel
| This section is incomplete Reason: no example |
