dmd 1.069 and 2.054 release

dsimcha dsimcha at yahoo.com
Mon Jul 11 12:16:04 PDT 2011


== Quote from Walter Bright (newshound2 at digitalmars.com)'s article
> On 7/11/2011 10:02 AM, dsimcha wrote:
> > So are there multiple instantiations depending on rvalue vs. not rvalue?
> Yes, it has to be that way. It's the difference between passing T* and T.

Couldn't you just make the calling convention for auto ref functions be to always
pass a T* and create a hidden temporary at the call site if passing an rvalue?


More information about the Digitalmars-d-announce mailing list