|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52264 - branches/release/boost/exception
From: emil_at_[hidden]
Date: 2009-04-08 15:21:41
Author: emildotchevski
Date: 2009-04-08 15:21:40 EDT (Wed, 08 Apr 2009)
New Revision: 52264
URL: http://svn.boost.org/trac/boost/changeset/52264
Log:
BOOST_NO_EXCEPTIONS #ifdef
Text files modified:
branches/release/boost/exception/diagnostic_information.hpp | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
Modified: branches/release/boost/exception/diagnostic_information.hpp
==============================================================================
--- branches/release/boost/exception/diagnostic_information.hpp (original)
+++ branches/release/boost/exception/diagnostic_information.hpp 2009-04-08 15:21:40 EDT (Wed, 08 Apr 2009)
@@ -8,7 +8,6 @@
#include <boost/config.hpp>
#include <boost/exception/get_error_info.hpp>
-#include <boost/exception/current_exception_cast.hpp>
#include <boost/utility/enable_if.hpp>
#include <exception>
#include <sstream>
@@ -129,7 +128,13 @@
{
return exception_detail::std_diagnostic_information(e);
}
+ }
+#ifndef BOOST_NO_EXCEPTIONS
+#include <boost/exception/current_exception_cast.hpp>
+namespace
+boost
+ {
inline
std::string
current_exception_diagnostic_information()
@@ -141,6 +146,7 @@
else
return "No diagnostic information available.";
}
- }
+ }
+#endif
#endif
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk