DIP1000: Walter's proposal to resolve ambiguity of ref-return-scope parameters

zjh fqbqrr at 163.com
Thu Nov 25 15:05:55 UTC 2021


On Thursday, 25 November 2021 at 14:40:09 UTC, Dennis wrote:

> I don't consider that clean.

I usually use `C++`,`C++` has no similar `scope`,`C++` has `RAII`.
It's like the `&` of `C++` versus the `ref` of `d`. `&` is much 
simpler than `ref`.
It would be nice if `d` had some `symbols/sugar syntax` to 
simplify these attributes.



More information about the Digitalmars-d mailing list