get_error_info returns raw pointer instead of shared_ptr (breaking change) diagnostic_information can now be called with boost::exception or std::exception object. BOOST_THROW_EXCEPTION can now be used even if exceptions are disabled. added functions: current_exception_diagnostic_information, current_exception_cast documentation updated to match.

[SVN r52225]
This commit is contained in:
Emil Dotchevski authored and Peter Dimov committed 2014-06-03 01:49:26 +03:00
1 parent 9ff6182f15
commit 167bdd0748
2 files changed
+6 -3

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@
# define BOOST_EXCEPTION_DISABLE
#endif
#if !defined( BOOST_NO_EXCEPTIONS ) && !defined( BOOST_EXCEPTION_DISABLE )
#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) <<\