$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r48748 - trunk/boost/serialization
From: ramey_at_[hidden]
Date: 2008-09-11 16:41:20
Author: ramey
Date: 2008-09-11 16:41:19 EDT (Thu, 11 Sep 2008)
New Revision: 48748
URL: http://svn.boost.org/trac/boost/changeset/48748
Log:
In the absence of exception support, forward to boost::throw_exception
Text files modified:
trunk/boost/serialization/throw_exception.hpp | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
Modified: trunk/boost/serialization/throw_exception.hpp
==============================================================================
--- trunk/boost/serialization/throw_exception.hpp (original)
+++ trunk/boost/serialization/throw_exception.hpp 2008-09-11 16:41:19 EDT (Thu, 11 Sep 2008)
@@ -26,12 +26,13 @@
#ifdef BOOST_NO_EXCEPTIONS
-void throw_exception(std::exception const & e); // user defined
+void throw_exception(std::exception const & e) {
+ ::boost::throw_exception(e);
+}
#else
-template<class E> inline void throw_exception(E const & e)
-{
+template<class E> inline void throw_exception(E const & e){
throw e;
}