std::shared_lock::
swap
template
<
class
Mutex
>
void
swap
(
shared_lock
<
Mutex
>
&
other
)
noexcept
;
(C++14 起)
交换锁对象的内部状态。
目录
1
参数
2
返回值
3
示例
4
参阅
参数
other
-
要交换状态的锁
返回值
(none)
示例
本节未完成
原因:暂无示例
参阅
std::swap
(std::shared_lock)
std::swap
对
shared_lock
的特化
(函数模板)
版本历史
(当前 | 先前)
2017年8月24日 (四) 09:07
Fruderica
(
讨论
|
贡献
)
. .
(484字节)
(+484)
. .
(以“{{cpp/thread/shared_lock/title|swap}} {{cpp/thread/shared_lock/navbar}} {{ddcl | since=c++14 | template< class Mutex > void swap( shared_lock<Mutex>& other ) noexcep...”为内容创建页面)