Boost logo

Boost :

From: Fernando Cacciola (fernando_cacciola_at_[hidden])
Date: 2002-11-21 08:54:36


----- Original Message -----
From: "David Abrahams" <dave_at_[hidden]>
To: "Boost mailing list" <boost_at_[hidden]>
Sent: Wednesday, November 20, 2002 7:48 PM
Subject: Re: [boost] Do we need a boost_exception class or idiom?

> "Fernando Cacciola" <fernando_cacciola_at_[hidden]> writes:
>
> >> 2. Why are we reinventing the wheel? What's wrong with
> >> boost::throw_exception() from boost/throw_exception.hpp?
> >>
> > Nothing :-)
> > I like this approach... and I had forgot about it.
> > Anyway, I was just pointing out that IIF a boost exception class was
defined
> > it should throw itself.
>
> Why should it? That seems to imply that there /is/ something wrong
> with the boost::throw_exception approach.
>
True, and I take it back, because not only there is nothing wrong with
boost::throw_exception , it also does the same job (as ::raise()) quite
better.

Fernando Cacciola


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk