The GC, destructors, exceptions and memory corruption

Alexander aldem+dmars at nk7.net
Fri May 13 00:57:37 PDT 2011


On 13.05.2011 06:53, Vladimir Panteleev wrote:

> Thus, my question is: what's the expected behavior of D programs when a destructor throws?

  I would say, the only expected (and correct, IMHO) behavior should be termination of the program because of unhandled exception.

/Alexander


More information about the Digitalmars-d mailing list