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.
18 // http://www.boost.org/libs/utility/throw_exception.html
21 #include <boost/config.hpp>
23 #ifdef BOOST_NO_EXCEPTIONS
30 #ifdef BOOST_NO_EXCEPTIONS
32 void throw_exception(std::exception const & e); // user defined
36 template<class E> void throw_exception(E const & e)
45 #endif // #ifndef BOOST_THROW_EXCEPTION_HPP_INCLUDED