8 #include <boost/assert/source_location.hpp> 14 #ifdef BOOST_NO_EXCEPTIONS 23 const std::exception &e,
24 boost::source_location
const & loc) {
30 #endif // BOOST_NO_EXCEPTIONS 36 #ifdef ASIO_NO_EXCEPTIONS 39 #include <system_error> 42 namespace clmdep_asio {
45 template <
typename Exception>
50 template void throw_exception<std::bad_cast>(
const std::bad_cast &);
51 template void throw_exception<std::exception>(
const std::exception &);
52 template void throw_exception<std::system_error>(
const std::system_error &);
57 #endif // ASIO_NO_EXCEPTIONS void throw_exception(const std::exception &e)