Boost Exception

rethrow_exception

#include <boost/exception_ptr.hpp>

namespace
boost
    {
    void rethrow_exception( exception_ptr const & ep );
    }

Precondition:

ep shall not be null.

Throws:

The exception to which ep refers.