D/Objective-C 64bit
Jacob Carlborg via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Thu Oct 30 09:55:21 PDT 2014
On 2014-10-30 10:23, John Colvin wrote:
> Slightly derailing the conversation, but I see this all the time...
>
> Isn't the situation actually this:
>
> GC allocated objects are not guaranteed to be de-allocated before
> program termination.
> If a GC allocated object is deallocated, its destructor *is* guaranteed
> to be called.
> Except:
> Destructors are not called for arrays of objects, whether they are
> structs or emplaced classes, even when they are de-allocated.
Yes, that's the longer explanation :)
--
/Jacob Carlborg
More information about the Digitalmars-d-announce
mailing list