Status on DIP 1040?

Tejas notrealemail at gmail.com
Mon Aug 2 17:49:56 UTC 2021


On Monday, 2 August 2021 at 17:37:44 UTC, kinke wrote:
> On Monday, 2 August 2021 at 17:27:37 UTC, Tejas wrote:
>> We've been trying to have rvalue references for years now...
>
> Who's 'we'? Some people have; I've advocated against them, but 
> am all in favor of move constructors and assignments.
>

Didn't Walter(and one more) write the very first proof-of-concept 
and it got added as ```-preview=rvaluerefparams``` back in April 
2019? I assume it was because people DID want them?

>> would be nice to finally see a real implementation of some 
>> kind.
>
> Define 'real' implementation - proof-of-concepts exist for ~2 
> years:
> * https://github.com/dlang/dmd/pull/10383
> * https://github.com/dlang/dmd/pull/10426

No, they're not the same as C++
https://forum.dlang.org/post/qhynxxrdsaahxvoglztx@forum.dlang.org




More information about the Digitalmars-d mailing list