Christopher Smith wrote:
It's not the *throwing* exceptions inside a destructor that is a
problem. You can and should do that as appropriate. You just can't let
exceptions bubble past the destructor.
Let me paraphrase to make sure I have it right:
In other words, you can't let the destructor actually throw an
exception. If some statement inside the destructor throws an exception,
you have to catch it inside the destructor.
I would find that inconvenient. I simply log *all* exceptions, catching
*everything* at the top level that I don't expect to fix lower down.
--
Darren New / San Diego, CA, USA (PST)
It's not feature creep if you put it
at the end and adjust the release date.
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg