|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-08-13 11:04:15
From: "Eric Woodruff" <Eric.Woodruff_at_[hidden]>
> If that is in the user area of the namespace, why isn't it a template so
> clients of boost can benefit from it as well with any exception type?
The boost::throw_exception hook is only defined by the user when Boost is
compiled with BOOST_NO_EXCEPTIONS. When exception support is available, the
definition is
template<class E> void throw_exception(E const & e)
{
throw e;
}
> ----- Original Message -----
> From: Peter Dimov
> Newsgroups: gmane.comp.lib.boost.devel
> Sent: Tuesday, 2002:August:13 10:00 AM
> Subject: boost::throw_exception()?
>
>
> To get "exceptionless" support into this release, I need a resolution on
the
> "Boost user error handler policy." Is ::boost_throw() acceptable? If not,
is
>
> namespace boost
> {
> void throw_exception(std::exception const & e); // user defined
> }
>
> acceptable?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk