want to confirm: gc will not free a non-gc-allocated field of a gc-allocated object?

ag0aep6g anonymous at example.com
Tue Jun 7 00:40:56 UTC 2022


On 07.06.22 00:22, max haughton wrote:
> float[] doesn't contain pointers, so the GC won't do anything to or with 
> it.

wat

float[] is a pointer (plus a length). The GC will deal with it like any 
other pointer.


More information about the Digitalmars-d-learn mailing list