Move Constructor Syntax

angel andrey.gelman at gmail.com
Mon Oct 7 14:14:33 UTC 2024


On Sunday, 6 October 2024 at 04:04:28 UTC, Walter Bright wrote:
> ```
> struct S { ... }
>
> this(ref S) // copy constructor
[...]
The above seems to invite `this(mov S)` move constructor.



More information about the Digitalmars-d mailing list