throw_exception#include <boost/throw_exception.hpp> namespace
boost
{
#ifdef BOOST_NO_EXCEPTIONS
void throw_exception( std::exception const & e ); // user defined
#else
template <class E>
void throw_exception( E const & e );
#endif
}
Requirements:E must derive publicly from std::exception. Effects:
|