#ifdef BOOST_NO_EXCEPTIONS
-inline void throw_exception(std::exception const & e) {
+BOOST_NORETURN inline void throw_exception(std::exception const & e) {
::boost::throw_exception(e);
}
#else
-template<class E> inline void throw_exception(E const & e){
+template<class E> BOOST_NORETURN inline void throw_exception(E const & e){
throw e;
}