00001 #ifndef BOOST_THROW_EXCEPTION_HPP_INCLUDED
00002 #define BOOST_THROW_EXCEPTION_HPP_INCLUDED
00003
00004
00005
00006 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
00007 # pragma once
00008 #endif
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #include <sysc/packages/boost/config.hpp>
00023
00024 #ifdef BOOST_NO_EXCEPTIONS
00025 # include <exception>
00026 #endif
00027
00028 namespace boost
00029 {
00030
00031 #ifdef BOOST_NO_EXCEPTIONS
00032
00033 void throw_exception(std::exception const & e);
00034
00035 #else
00036
00037 template<class E> inline void throw_exception(E const & e)
00038 {
00039 throw e;
00040 }
00041
00042 #endif
00043
00044 }
00045
00046 #endif // #ifndef BOOST_THROW_EXCEPTION_HPP_INCLUDED