diff --git a/doc/BOOST_THROW_EXCEPTION.html b/doc/BOOST_THROW_EXCEPTION.html index bf355d7..255b8e2 100644 --- a/doc/BOOST_THROW_EXCEPTION.html +++ b/doc/BOOST_THROW_EXCEPTION.html @@ -25,13 +25,13 @@
#if !defined( BOOST_EXCEPTION_DISABLE )
     #include <boost/exception/exception.hpp>
     #include <boost/current_function.hpp>
-    #define BOOST_THROW_EXCEPTION(x)\
+    #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)
+    #define BOOST_THROW_EXCEPTION(x) ::boost::throw_exception(x)
 #endif

This macro takes an exception object, records BOOST_CURRENT_FUNCTION, __FILE__ and __LINE__ in it, and forwards it to throw_exception. To recover this information at the catch site, use get_error_info; the information is also included in the message returned by diagnostic_information.


diff --git a/doc/throw_exception.html b/doc/throw_exception.html index 70236df..cf4ef4b 100644 --- a/doc/throw_exception.html +++ b/doc/throw_exception.html @@ -26,17 +26,17 @@ boost { #ifdef BOOST_NO_EXCEPTIONS - void throw_exception( std::exception const & e ); // user defined + void throw_exception( std::exception const & e ); // user defined #else template <class E> - void throw_exception( E const & e ); + void throw_exception( E const & e ); #endif }

Requirements:

E must derive publicly from std::exception.

Effects:

-

See Also: