__rvalue and Move Semantics first draft - aliasing problem/danger

Walter Bright newshound2 at digitalmars.com
Sun Nov 10 04:25:25 UTC 2024


On 11/9/2024 6:38 PM, Richard (Rikki) Andrew Cattermole wrote:
> But it does tell us, that as a language feature it is dependent upon it, to be 
> working correctly, so can't be turned on until then.

By setting the source to S.init after the move, it will work safely.



More information about the dip.development mailing list