How does GC.addRange work?

Gary Willoughby via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Sep 20 15:21:13 PDT 2014


On Saturday, 20 September 2014 at 20:44:18 UTC, ketmar via 
Digitalmars-d-learn wrote:
> note that scan is conservative, so if you happen to have some 
> integer
> value that can be interpreted as pointer to GC-managed memory, 
> it will
> be considered as pointer.

So zeroing values will inform the GC the reference has gone?


More information about the Digitalmars-d-learn mailing list