|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2002-08-13 12:34:22
----- 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk