Mac Apps That Use Garbage Collection Must Move to ARC

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Sat Feb 21 23:06:24 PST 2015


On Sunday, 22 February 2015 at 06:37:45 UTC, Walter Bright wrote:
> 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.

If you don't plan to use any method on objects, I guess that's 
fine.


More information about the Digitalmars-d mailing list