>
<p>Effects: Equivalent to: weak_ptr().swap(*this). </p>
</li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">void</span> <a name="idp56978368-bb"></a><span class="identifier">swap</span><span class="special">(</span><span class="identifier">this_type</span> <span class="special">&amp;</span> other<span class="special">)</span><span class="special">;</span></pre>
<p>Effects: Exchanges the contents of the two smart pointers.</p>
<p>Throws: nothing. </p>
</li>
</ol></div>
</div>
</div