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/pagpusgpyhlhoipld...@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?