Move Constructor Syntax

Walter Bright newshound2 at digitalmars.com
Sun Oct 6 05:38:50 UTC 2024


On 10/5/2024 9:33 PM, Jonathan M Davis wrote:
> Honestly, I'd just argue for slapping @move on the constructor,

Then people would want to slap @move on other things.

> Either way, I definitely wouldn't want #3, since it looks
> too much like a mistyped pointer dereference in C++.

I just threw in #3 'cause I needed a third :-/



More information about the Digitalmars-d mailing list