Silicium
terminate_on_exception.hpp
Go to the documentation of this file.
1 #ifndef SILICIUM_TERMINATE_ON_EXCEPTION_HPP
2 #define SILICIUM_TERMINATE_ON_EXCEPTION_HPP
3 
4 #include <boost/throw_exception.hpp>
5 #include <boost/concept_check.hpp>
6 
7 namespace boost
8 {
9 #ifdef BOOST_NO_EXCEPTIONS
10  void throw_exception(std::exception const &e)
11  {
12  boost::ignore_unused_variable_warning(e);
13  std::terminate();
14  }
15 #endif
16 }
17 
18 #endif
Definition: terminate_on_exception.hpp:7