|
Boost : |
From: David Bergman (davidb_at_[hidden])
Date: 2002-08-13 13:06:25
Dave,
Have you heard about luck? With a lot of luck, that exception object
might be intact, so let's rethrow it as quickly as we can ;-)
/David
-----Original Message-----
From: boost-bounces_at_[hidden]
[mailto:boost-bounces_at_[hidden]] On Behalf Of David Abrahams
Sent: Tuesday, August 13, 2002 1:34 PM
To: boost_at_[hidden]
Subject: Re: [boost] Re: Re: Re: Re:
Re:AttemptingresolutionofThreads&ExceptionsIssue
----- Original Message -----
From: "Eric Woodruff" <Eric.Woodruff_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Tuesday, August 13, 2002 1:49 PM
Subject: [boost] Re: Re: Re: Re: Re:
AttemptingresolutionofThreads&ExceptionsIssue
> You would either:
>
> 1) specify std::exception& because you want to use the abstract
interface
> 2) specify your error class
>
> where it would store either:
>
> 1) an std::exception& which would have a reference to your error type
> 2) an instance of your error class (copy constructed)
2) is viable; 1) is not. The referenced exception object is destroyed
when
the catch block exits.
-----------------------------------------------------------
David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com
_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk