|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Member functions | ||||
| Shared locking | ||||
| Modifiers | ||||
shared_lock::swap | ||||
| Observers | ||||
| Non-member functions | ||||
template<class Mutex> void swap( shared_lock<Mutex>& other)noexcept; | (since C++14) | |
Exchanges the internal states of the lock objects.
Contents |
| other | - | the lock to swap the state with |
(none)
| This section is incomplete Reason: no example |
(C++14) | specializes thestd::swap algorithm (function template)[edit] |