|
Boost : |
From: Victor A. Wagner, Jr. (vawjr_at_[hidden])
Date: 2002-08-13 15:08:24
At Tuesday 2002/08/13 10:34, you wrote:
>----- 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.
I believe you are mistaken in your comment regarding 1). Or have I
misunderstood what
throw;
does inside a catch block?
>-----------------------------------------------------------
> David Abrahams * Boost Consulting
>dave_at_[hidden] * http://www.boost-consulting.com
>
>
>_______________________________________________
>Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Victor A. Wagner Jr. http://rudbek.com
PGP RSA fingerprint = 4D20 EBF6 0101 B069 3817 8DBF C846 E47A
PGP D-H fingerprint = 98BC 65E3 1A19 43EC 3908 65B9 F755 E6F4 63BB 9D93
The five most dangerous words in the English language:
"There oughta be a law"
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk