Can we enable -preview=rvaluereference now?

IchorDev zxinsworld at gmail.com
Tue Aug 20 05:05:07 UTC 2024


On Monday, 19 August 2024 at 12:58:15 UTC, Quirin Schroll wrote:
>> I think you need to present a rock solid case to invalidate 
>> half a decade of several people's work, and you'll have to do 
>> better then "I don't care for that in theory", or "the idea 
>> kind-of makes me nervous despite never having turned the flag 
>> on and having literally no experience with it one way or the 
>> other"...
>
> I think you need a rock solid argument for changing behavior of 
> a widely-used language construct over an alternative that is a 
> pure addition.

Do you have any code or know of any code that actually relies on 
`ref` parameters being lvalues? Also, if you really want lvalues 
just make your parameter a pointer or something.


More information about the Digitalmars-d mailing list