Mac Apps That Use Garbage Collection Must Move to ARC
via Digitalmars-d
digitalmars-d at puremagic.com
Sun Feb 22 00:08:10 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.
And a coroutine cannot hold onto a ref?
More information about the Digitalmars-d
mailing list