diff --git a/doc/.gitignore b/doc/.gitignore new file mode 100644 index 0000000..0972e2d --- /dev/null +++ b/doc/.gitignore @@ -0,0 +1,2 @@ +/html/ +/pdf/ diff --git a/doc/BOOST_THROW_EXCEPTION.html b/doc/BOOST_THROW_EXCEPTION.html deleted file mode 100644 index 7d8806f..0000000 --- a/doc/BOOST_THROW_EXCEPTION.html +++ /dev/null @@ -1,55 +0,0 @@ - - -
- -#include <boost/throw_exception.hpp>
-#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_THROW_EXCEPTION_CURRENT_FUNCTION) <<\ - ::boost::throw_file(__FILE__) <<\ - ::boost::throw_line((int)__LINE__) ) -#else - #define BOOST_THROW_EXCEPTION(x) ::boost::throw_exception(x) -#endif-
This macro takes an exception object, records the current function name, __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.
-#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_THROW_EXCEPTION_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>
-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
- }
-E must derive publicly from std::exception. E may or may not derive from boost::exception.
-© Copyright Beman Dawes, 2001
+throw_exception.html.Copyright Beman Dawes, 2001
Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at www.boost.org/LICENSE_1_0.txt)