Mac Apps That Use Garbage Collection Must Move to ARC

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sat Feb 21 22:37:34 PST 2015


On 2/21/2015 10:07 PM, weaselcat wrote:
> Excuse my ignorance,(I read the DIP btw)
> How does 'return ref' address issues like
> http://forum.dlang.org/thread/pagpusgpyhlhoipldofs@forum.dlang.org#post-ewuwphzmubtmykfsywuw:40forum.dlang.org
> ?

The short answer, is your ref types never expose a raw pointer. They do it all 
with ref's.


More information about the Digitalmars-d mailing list