[dmd-beta] rvalue references
Walter Bright
walter at digitalmars.com
Tue Apr 10 21:14:15 PDT 2012
On 4/10/2012 8:36 PM, Jason House wrote:
> Just to be clear, ultimately all literals will be rvalues? Can rvalues be passed as const ref but not ref?
1. Yes, 2. probably no.
>
> While I have no plans to use it, what mechanism, if any, will allow escaping the address? Usually, casts are the back door, but I don't believe that works in this case.
Case 3.
More information about the dmd-beta
mailing list