1 #ifndef BOOST_THROW_EXCEPTION_HPP_INCLUDED
2 #define BOOST_THROW_EXCEPTION_HPP_INCLUDED
4 // MS compatible compilers support #pragma once
6 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
11 // boost/throw_exception.hpp
13 // Copyright (c) 2002 Peter Dimov and Multi Media Ltd.
15 // Permission to copy, use, modify, sell and distribute this software
16 // is granted provided this copyright notice appears in all copies.
17 // This software is provided "as is" without express or implied
18 // warranty, and with no claim as to its suitability for any purpose.
20 // http://www.boost.org/libs/utility/throw_exception.html
23 #include <boost/config.hpp>
25 #ifdef BOOST_NO_EXCEPTIONS
32 #ifdef BOOST_NO_EXCEPTIONS
34 void throw_exception(std::exception const & e); // user defined
38 template<class E> void throw_exception(E const & e)
47 #endif // #ifndef BOOST_THROW_EXCEPTION_HPP_INCLUDED