On 04/30/2014 10:45 PM, Andrei Alexandrescu wrote:

An extreme one indeed, it would break a lot of my code. Every D project
I wrote that does networking manages memory using a class that resides
on the managed heap, but holds the actual wrapped data in the unmanaged
heap.

So should I take it those classes all have destructors? -- Andrei

(Yes, those destructors free the unmanaged memory.)

Reply via email to