std::weak_ptr::swap
| void swap( weak_ptr& r ); |  | (since C++11) | 
|---|
交换…的内容*this和r...
参数
| r | - | smart pointer to exchange the contents with | 
|---|
返回值
%280%29
例外
noexcept规格:
noexcept
 © cppreference.com在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com

