Observing exceptions in a destructor

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Apr 21 19:12:24 PDT 2015


On Wed, 22 Apr 2015 01:02:15 +0000, Mark Isaacson wrote:

> I'd like to be able to know if my destructor is being called because an
> exception was thrown. Any way to do that?

sorry, you can't.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20150422/315fcea0/attachment.sig>


More information about the Digitalmars-d-learn mailing list