Namespaces
Variants
Views
Actions

std::weak_ptr::swap

From cppreference.com
< cpp‎ | memory‎ | weak ptr
Revision as of 20:17, 31 May 2013 by P12bot (Talk | contribs)

 
 
 
 
 
void swap( weak_ptr& r );

Exchanges the contents of *this and r

Parameters

r - smart pointer to exchange the contents with

Return value

(none)

Exceptions

noexcept specification:  
noexcept