• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 
2 // Copyright 2019 Peter Dimov.
3 //
4 // Distributed under the Boost Software License, Version 1.0.
5 // http://www.boost.org/LICENSE_1_0.txt
6 
7 #include <boost/config.hpp>
8 #include <exception>
9 #include <cstdio>
10 
11 namespace boost
12 {
13 
throw_exception(std::exception const & e)14 void throw_exception( std::exception const & e )
15 {
16     std::fprintf( stderr, "Exception: %s\n", e.what() );
17     std::terminate();
18 }
19 
20 } // namespace boost
21