How to delete dynamic array ?

frame frame86 at live.com
Wed Mar 17 15:45:14 UTC 2021


On Wednesday, 17 March 2021 at 14:30:26 UTC, Guillaume Piolat 
wrote:
> On Wednesday, 17 March 2021 at 10:54:10 UTC, jmh530 wrote:
>>
>> This is one of those things that is not explained well enough.

I want just to add, case 3 is wrong usage.
Right one is:

GC.free(GC.addrOf(ar.ptr));


More information about the Digitalmars-d-learn mailing list