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

Olivier FAURE couteaubleu at gmail.com
Thu Jan 31 21:42:04 UTC 2019

On Thursday, 31 January 2019 at 16:38:42 UTC, Steven 
Schveighoffer wrote:
> Yeah, that's already a thing that ref in D doesn't protect 
> against:

It took me a while to understand what the compiler was doing.

This really feels like something that shouldn't compile.

More information about the Digitalmars-d-announce mailing list