D needs...

Namespace via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon May 18 14:51:48 PDT 2015


> Knee-jerk response: if no "return" attribute on a function it 
> should be safe to bind rvalues to ref parameters. Of course 
> that's impractical as a default so explicit "auto ref" would be 
> needed. -- Andrei

Would it be to hasty if someone would start implementing auto ref 
for non-templates right now? Or should a more experienced user do 
that? Just in case I can contribute somehow.


More information about the Digitalmars-d-announce mailing list