# Boost Exception

### exception_ptr

#include <boost/exception_ptr.hpp>

    namespace
    boost
        {
        typedef ---unspecified--- exception_ptr;
        }

The exception_ptr type can be used to refer to a copy of an exception object. It is Default Constructible, Copy Constructible, Assignable and Equality Comparable; exception_ptr's operations do not throw.

Two instances of exception_ptr are equivalent and compare equal if and only if they refer to the same exception.

The default constructor of exception_ptr produces the null value of the type. The null value is equivalent only to itself.

### See Also:

Boost Exception
boost/exception_ptr.hpp
copy_exception
current_exception
enable_current_exception
rethrow_exception
unknown_exception