1 // Copyright 2019 Hans Dembinski
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt
5 // or copy at http://www.boost.org/LICENSE_1_0.txt)
7 #ifdef BOOST_NO_EXCEPTIONS
9 #include <cstdlib> // std::abort
14 // dummy implementation for user-defined function from boost/throw_exception.hpp
15 inline void throw_exception(std::exception const& e) {
16 std::cerr << e.what() << std::endl;