DIP 1016--ref T accepts r-values--Community Review Round 1

Nicholas Wilson iamthewilsonator at hotmail.com
Fri Jul 20 09:39:47 UTC 2018


On Friday, 20 July 2018 at 09:03:18 UTC, Dukc wrote:
> appending something (like .byRef or byRef!long, the latter 
> making an implicit type conversion)

That can't work: either it returns an expired stack temporary 
(*very* bad), or allocates with no way to deallocate (bad).


More information about the Digitalmars-d mailing list