2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-28 19:32:08 +00:00
Files
math/test/noeh_support.cpp
2015-09-06 19:31:53 +01:00

23 lines
270 B
C++

#include <boost/config.hpp>
#include <iostream>
#include <iomanip>
#include <cstdlib>
#ifdef BOOST_NO_EXCEPTIONS
namespace boost {
void throw_exception(const std::exception& e)
{
std::cout << e.what() << std::endl;
std::abort();
}
}
#endif