std::shared_lock<Mutex>::swap_C++中文网
位置:首页 > C++ 参考手册 >线程支持库 >std::shared_lock > std::shared_lock<Mutex>::swap
| template< class Mutex > |
(C++14 起) | |
交换锁对象的内部状态。
参数
| other | - | 要交换状态的锁 |
返回值
(none)
示例
| 本节未完成 原因:暂无示例 |
参阅
std::swap 对 shared_lock 的特化 (函数模板) |