DIP 36: Rvalue References

Dicebot m.strashun at gmail.com
Sun Apr 21 03:59:53 PDT 2013


On Sunday, 21 April 2013 at 02:50:02 UTC, deadalnix wrote:
> If that is your concern then the DIP36 is a very bad answer to 
> it :
>  - It require extra anotation, which wont be added most of the 
> time.

Automatic annotations are indicators of broken language. If 
someone will forget this one, he won't be able to use rvalues, no 
problem.

>  - It is inferior, and impair the introduction of lifetime. 
> This isn't even discussed.

Scope is the absolute minimal lifetime which is needed for this 
DIP. Any other lifetime options are simply irrelevant.


More information about the Digitalmars-d mailing list