From: "John Maddock" <jm@[...].uk> > >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? Yup. ----------------------------------------------------------- David Abrahams * Boost Consulting dave@[...].com * http://www.boost-consulting.com _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost