Boost logo

Boost :

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


From: "Alan Bellingham" <alan_at_[hidden]>

> hys:
>
> >Hmm. Interesting. (Why does std::exception provide a virtual dtor if
it's
> >not really necessary?)
>
> You may not want a container of polymorphic pointers to exceptions, but
> you still want to catch exceptions polymorphically (else why bother
> having an exception hierarchy at all?).

You don't need virtual functions for that.

FWIW-ly y'rs,
Dave

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