</div><p>The <spanclass="RenoLink"><ahref="exception_ptr.html">exception_ptr</a></span> type can be used to refer to a copy of an exception object. It is Default Constructible, Copy Constructible, Assignable and Equality Comparable; <spanclass="RenoLink"><ahref="exception_ptr.html">exception_ptr</a></span>'s operations do not throw.</p>
<p>Two instances of <spanclass="RenoLink"><ahref="exception_ptr.html">exception_ptr</a></span> are equivalent and compare equal if and only if they refer to the same exception.</p>
<p>The default constructor of <spanclass="RenoLink"><ahref="exception_ptr.html">exception_ptr</a></span> produces the null value of the type. The null value is equivalent only to itself.</p>
<div><ul><li> It is legal for multiple threads to hold <spanclass="RenoLink"><ahref="exception_ptr.html">exception_ptr</a></span> references to the same exception object.</li>
<li> It is illegal for multiple threads to modify the same <spanclass="RenoLink"><ahref="exception_ptr.html">exception_ptr</a></span> object concurrently.</li>
<li> While calling <spanclass="RenoLink"><ahref="current_exception.html">current_exception</a></span> makes a copy of the current exception object, it is still possible for the two copies to share internal state. Therefore, in general it is not safe to call <spanclass="RenoLink"><ahref="rethrow_exception.html">rethrow_exception</a></span> concurrently to throw the same exception object into multiple threads.</li>