lass="keyword">const</span> <span class="special">&amp;</span> r<span class="special">)</span><span class="special">;</span></pre>
<p>Effects: Equivalent to weak_ptr(r).swap(*this).</p>
<p>Throws: nothing.</p>
<p>Notes: The implementation is free to meet the effects (and the implied guarantees) via different means, without creating a temporary. </p>
</li>
</ol></div>
</div>
<div class="refsect2">
<a name="id-1.3.19.17.3.54.4.4.7"></a><h3>
<a name="idp50616848-bb"></a><code class="computeroutput">weak_ptr</c