1 #ifndef BOOST_THROW_EXCEPTION_HPP_INCLUDED
2 #define BOOST_THROW_EXCEPTION_HPP_INCLUDED
9 // boost/throw_exception.hpp
11 // Copyright (c) 2002 Peter Dimov and Multi Media Ltd.
13 // Permission to copy, use, modify, sell and distribute this software
14 // is granted provided this copyright notice appears in all copies.
15 // This software is provided "as is" without express or implied
16 // warranty, and with no claim as to its suitability for any purpose.
19 #include <boost/config.hpp>
21 #ifdef BOOST_NO_EXCEPTIONS
28 #ifdef BOOST_NO_EXCEPTIONS
30 void throw_exception(std::exception const & e); // user defined
34 template<class E> void throw_exception(E const & e)
43 #endif // #ifndef BOOST_THROW_EXCEPTION_HPP_INCLUDED