std::swap(std::unique_lock)
cppreference.com
[] |
Google. . , . , . |
<metanoindex/>
<tbody> </tbody> template< class Mutex > void swap( unique_lock<Mutex> &lhs, unique_lock<Mutex> &rhs ); |
||
std::swap std::unique_lock.
lhs rhs. lhs.swap(rhs).:
Specializes the std::swap algorithm for std::unique_lock. Exchanges the state of
lhs with that of rhs. Effectively calls lhs.swap(rhs).| lhs, rhs | ,
|
()
noexcept:
noexcept| : |
.
| (public -) |