Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-08-13 14:58:34


From: "Victor A. Wagner, Jr." <vawjr_at_[hidden]>

> At Tuesday 2002/08/13 10:10, you wrote:
> >From: "Eric Woodruff" <Eric.Woodruff_at_[hidden]>
> >
> >
> > > Could the user not specify std::exception& instead?
> >
> >
> >Suppose they do.
> >Now suppose I define and throw my own exception type:
> >
> >struct error : std::exception { char const* what() throw(); double
> >x[3000]; };
> >
> >How is the exception-rethrowing mechanism going to store that?
>
> it's not. what does this have to do with anything?

I just want to make sure that those proposing a relatively complicated
mechanism for propagating exceptions across thread boundaries are fully
aware of the limitations. If it caused someone to think the benefits were
not worth the pitfalls, that would be important.

> "It would have been
> nice...."

Huh?

-----------------------------------------------------------
           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