Construct a std::exception_ptr object referencing
the same stored exception as another instance.
exception_ptr(exception_ptr const& other);
- Effects:
Constructs a new
std::exception_ptrinstance. Ifotherhas a stored exception, then*thisreferences the same stored exception.- Postconditions:
*this==otheristrue.*this!=otherisfalse.- Throws:
Nothing.
Header
#include <exception_ptr>