Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-08-13 11:47:03


----- Original Message -----
From: "Eric Woodruff" <Eric.Woodruff_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Tuesday, August 13, 2002 1:05 PM
Subject: [boost] Re: Re: Re: Attempting resolution of Threads
&ExceptionsIssue

> The reason I asked was to know if you in fact saw that it was possible to
> accout for the seeminly "infinite" number of exceptions a user may want
to
> specify...

It is not. Not, at least, unless you want the user to specify each
/concrete/ exception type that may be thrown. If, for example, the user
specifies std::exception, you can't even store one because it's an abstract
base class. Worse, non-abstract base classes will be subject to silent
slicing.

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