Ownership semantics

Matt Elkins via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jan 31 12:10:03 PST 2016


On Sunday, 31 January 2016 at 20:07:26 UTC, Steven Schveighoffer 
wrote:
> What is likely happening is that ptr is already collected, and 
> you are invalidly attempting to re-free it.

The GC can collect this memory even though there is still an 
outstanding root-reachable pointer to it?


More information about the Digitalmars-d-learn mailing list