mirror of
https://github.com/boostorg/math.git
synced 2026-01-28 19:32:08 +00:00
23 lines
270 B
C++
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
|