diff --git a/doc/BOOST_THROW_EXCEPTION.html b/doc/BOOST_THROW_EXCEPTION.html index 9647705..89395fb 100644 --- a/doc/BOOST_THROW_EXCEPTION.html +++ b/doc/BOOST_THROW_EXCEPTION.html @@ -35,18 +35,12 @@ #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.
This type is designed to be used as a standard error_info instance for transporting strings returned by std::type_info::name in exceptions deriving from boost::exception objects.
The expression error_info<Tag,T>::value_type evaluates to T.
#include <boost/exception/errinfo_nested_exception.hpp>
+#include <boost/exception/error_info.hpp> + +namespace +boost + { + typedef ---unspecified--- exception_ptr; + typedef error_info<struct errinfo_nested_exception_,exception_ptr> errinfo_nested_exception; + }
#include <boost/exception/errinfo_type_info_name.hpp>
#include <boost/exception/error_info.hpp> #include <string> @@ -243,25 +252,24 @@ boost #include <boost/exception/get_error_info.hpp> #include <boost/exception/info.hpp> #include <boost/exception/info_tuple.hpp> -#include <boost/exception_ptr.hpp> #include <boost/exception/errinfo_api_function.hpp> #include <boost/exception/errinfo_at_line.hpp> #include <boost/exception/errinfo_errno.hpp> #include <boost/exception/errinfo_file_handle.hpp> #include <boost/exception/errinfo_file_name.hpp> #include <boost/exception/errinfo_file_open_mode.hpp> -#include <boost/exception/errinfo_type_info_name.hpp>+#include <boost/exception/errinfo_type_info_name.hpp> +#ifndef BOOST_NO_EXCEPTIONS +#include <boost/exception/errinfo_nested_exception.hpp> +#include <boost/exception_ptr.hpp> +#endif
Regardless, the use of current_exception and rethrow_exception in the above examples is well-formed.
This type is used by the exception_ptr support in Boost Exception. Please see current_exception.