On Fri, 13 May 2011 10:57:37 +0300, Alexander <[email protected]> wrote:

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.

Yes, but what if it's handled (there's a try/catch block around the allocation or fullCollect call that invoked the GC)?

--
Best regards,
 Vladimir                            mailto:[email protected]

Reply via email to