auto ref is on the docket

Daniel N via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 22 14:03:55 PDT 2015


On Monday, 22 June 2015 at 20:50:23 UTC, Namespace wrote:
> That would be horrible. How would you distinguish between 
> lvalues and rvalues? What if you want to store a pointer to an 
> lvalue? If ref accept both you cannot do that.

storing requires 'return ref'


More information about the Digitalmars-d mailing list