...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
#include <boost/exception_ptr.hpp>
namespace
boost
{
exception_ptr current_exception();
}
The current_exception function must not be called outside of a catch block.
Nothing.