| void swap( weak_ptr& r ); | (since C++11) | 
Exchanges the contents of *this and r.
Parameters
| r | - | smart pointer to exchange the contents with | 
Return value
(none).
Exceptions
noexcept specification: noexcept| void swap( weak_ptr& r ); | (since C++11) | 
Exchanges the contents of *this and r.
| r | - | smart pointer to exchange the contents with | 
(none).
noexcept specification: noexcept 
          
Please login to continue.