Binding rvalues to ref parameters redux
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Thu Mar 28 16:28:47 UTC 2019
On 3/28/19 12:07 PM, Nicholas Wilson wrote:
> things that look like lvalues (e.g. @property functions) are disallowed
> as candidates for rvalue -> ref conversion
Can you please point to the DIP text that proposes such disallowance?
All I see is:
fun(x.prop); // properties
given as an example of call that should succeed yet fails. The dip is at:
https://github.com/dlang/DIPs/blob/master/DIPs/rejected/DIP1016.md
More information about the Digitalmars-d
mailing list