DIP77 - Fix unsafe RC pass by 'ref'

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Thu Apr 9 11:31:23 PDT 2015


On Thursday, 9 April 2015 at 09:05:10 UTC, Ola Fosheim Grøstad 
wrote:
> 2. How will this work with "yield"?
>

You yield both caller and callee, so you'll get caller's boxing 
in the yield.

> Why not just implement the more generic solution (shared 
> pointers with move/borrow or WPO) ?

I don't think this is possible.


More information about the Digitalmars-d mailing list