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

mw mingwu at gmail.com
Tue Jun 7 16:19:17 UTC 2022


On Tuesday, 7 June 2022 at 13:56:23 UTC, Steven Schveighoffer 
wrote:
> So you are safe, it will see the pointer inside the array 
> reference, and see that it doesn't point at GC memory, so 
> nothing further will be done.

Thanks for the detailed explanation, and everyone who has replied.



More information about the Digitalmars-d-learn mailing list