Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-08-13 12:10:56


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?

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