[dmd-beta] D 2.059 beta 4

Steve Schveighoffer schveiguy at yahoo.com
Tue Apr 10 10:53:03 PDT 2012






>________________________________
> From: Walter Bright <walter at digitalmars.com>
>To: dmd-beta at puremagic.com 
>Sent: Tuesday, April 10, 2012 12:25 PM
>Subject: Re: [dmd-beta] D 2.059 beta 4
> 
>
>
>
>On 4/10/2012 3:59 AM, Steve Schveighoffer wrote: 
>If I understand correctly (and I very well might not), the idea is that auto ref is *always* ref, so only one function is generated.
>No. Two functions are generated.
>I was referring to what I thought Andrei wanted, not how it is currently implemented.  As I understand it, there is great confusion around this mechanism (and rightly so, I think the name is quite unintuitive).  Anyway, it looks like the above is along the lines of what Andrei wanted, judging by his post explaining C++'s rvalue references.


-Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-beta/attachments/20120410/fe2fa337/attachment.html>


More information about the dmd-beta mailing list