diff --git a/doc/BOOST_THROW_EXCEPTION.html b/doc/BOOST_THROW_EXCEPTION.html index f25121d..9647705 100644 --- a/doc/BOOST_THROW_EXCEPTION.html +++ b/doc/BOOST_THROW_EXCEPTION.html @@ -21,15 +21,15 @@
#include <boost/throw_exception.hpp>
+#include <boost/throw_exception.hpp>
#if !defined( BOOST_EXCEPTION_DISABLE ) - #include <boost/exception/exception.hpp> + #include <boost/exception/exception.hpp> #include <boost/current_function.hpp> #define BOOST_THROW_EXCEPTION(x)\ ::boost::throw_exception( ::boost::enable_error_info(x) <<\ - ::boost::throw_function(BOOST_CURRENT_FUNCTION) <<\ - ::boost::throw_file(__FILE__) <<\ - ::boost::throw_line((int)__LINE__) ) + ::boost::throw_function(BOOST_CURRENT_FUNCTION) <<\ + ::boost::throw_file(__FILE__) <<\ + ::boost::throw_line((int)__LINE__) ) #else #define BOOST_THROW_EXCEPTION(x) ::boost::throw_exception(x) #endif@@ -37,7 +37,7 @@
#if !defined( BOOST_EXCEPTION_DISABLE ) + #include <boost/exception/exception.hpp> + #include <boost/current_function.hpp> + #define BOOST_THROW_EXCEPTION(x)\ + ::boost::throw_exception( ::boost::enable_error_info(x) <<\ + ::boost::throw_function(BOOST_CURRENT_FUNCTION) <<\ + ::boost::throw_file(__FILE__) <<\ + ::boost::throw_line((int)__LINE__) ) +#else + #define BOOST_THROW_EXCEPTION(x) ::boost::throw_exception(x) +#endif + +namespace +boost + { +#ifdef BOOST_NO_EXCEPTIONS + void throw_exception( std::exception const & e ); // user defined +#else + template <class E> + void throw_exception( E const & e ); +#endif + }+
#include <boost/throw_exception.hpp>
+#include <boost/throw_exception.hpp>
namespace boost { @@ -44,7 +44,7 @@ boostSee Also: