Documentation of object.destroy

Petar Petar
Tue Jan 2 15:48:09 UTC 2018


On Tuesday, 2 January 2018 at 15:13:46 UTC, Mike Franklin wrote:
> [..]
>
> I suggest the following:
>
> Calls `obj`'s destructor and sets `obj` to its default initial 
> state, `T.init`.  This function does not initiate a GC cycle 
> nor does it free any GC memory.
>
> Mike

+1


More information about the Digitalmars-d mailing list