$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: John Maddock (jm_at_[hidden])
Date: 2002-08-10 05:23:10
>I propose the following alternative to your patch:
>
>* New header boost/throw.hpp:
>
>#ifdef BOOST_NO_EXCEPTIONS
>
>#include <exception>
>
>void boost_throw(std::exception const & e); // user defined
>
>#else
>
>template<class E> void boost_throw(E const & e)
>{
> throw e;
>}
>
>#endif
Doesn't that throw a std::exception, rather than the "real" class type?
John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/index.htm