Namespaces
Variants
Views
Actions

std::weak_ptr::swap

From cppreference.com
< cpp‎ | memory‎ | weak ptr
Revision as of 14:38, 2 November 2012 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