$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Alan Bellingham (alan_at_[hidden])
Date: 2002-08-14 11:10:34
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?).
Since std::exception already has a virtual function (what()), there's no
per-instance space overhead in having a virtual dtor as well.
Alan
-- Alan Bellingham