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 // Distributed under the Boost Software License, Version 1.0. (See
16 // accompanying file LICENSE_1_0.txt or copy at
17 // http://www.boost.org/LICENSE_1_0.txt)
19 // http://www.boost.org/libs/utility/throw_exception.html
22 #include <boost/config.hpp>
24 #ifdef BOOST_NO_EXCEPTIONS
31 #ifdef BOOST_NO_EXCEPTIONS
33 void throw_exception(std::exception const & e); // user defined
37 template<class E> inline void throw_exception(E const & e)
39 //Adding this #if statement for WINSCW because currently winscw compiler does not support catching of const exception by non const catch blocks
40 //Once compiler starts supporting, this #if statement needs to be removed
41 #if ( defined __WINSCW__)
53 #endif // #ifndef BOOST_THROW_EXCEPTION_HPP_INCLUDED