Boost Exception

boost/exception/enable_current_exception.hpp

Synopsis

#include <boost/exception/exception.hpp>

namespace
boost
    {
    template <class T>
    ---unspecified--- enable_current_exception( T const & e );
    }