Boost logo

Boost :

Subject: Re: [boost] Boost and exceptions
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2012-06-18 18:34:32


On Mon, Jun 18, 2012 at 3:56 PM, Robert Ramey <ramey_at_[hidden]> wrote:

> Emil Dotchevski wrote:
> > On Mon, Jun 18, 2012 at 1:52 PM, Robert Ramey <ramey_at_[hidden]> wrote:
> >
> >> Emil Dotchevski wrote:
> >>> On Mon, Jun 18, 2012 at 4:35 AM, Ulrich, <dirkude_at_[hidden]> wrote:
> >>
> >>> the only requirement that exists for Boost Libraries is that they
> >>> throw by calling boost::throw_exception, ...
> >>
> >> since when is this a requirement?
> >>
> >
> > I meant it is a requirement if a library that throws exceptions
> > supports BOOST_NO_EXCEPTIONS builds.
>
> Hmm - that sentence doesn't quite make sense for me. I'm supposing that
> it means:
>
> "if a library throws exceptions it is required to invoke
> boost::throw_exception"
>

No, it means that if a library that throws exceptions supports
BOOST_NO_EXCEPTIONS builds, it is required to use boost::throw_exception to
throw. I know you have your own reasons to use a parallel implementation of
boost::throw_exception, that's fine.

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


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