DIP 1016--ref T accepts r-values--Formal Assessment

jmh530 john.michael.hall at gmail.com
Thu Jan 31 21:44:53 UTC 2019

On Thursday, 31 January 2019 at 21:42:04 UTC, Olivier FAURE wrote:
> [snip]
> It took me a while to understand what the compiler was doing.
> This really feels like something that shouldn't compile.

It doesn't compile with dip1000 without first giving the getter 
functions a return attribute for this.

More information about the Digitalmars-d-announce mailing list