Move Constructor Syntax

Walter Bright newshound2 at digitalmars.com
Thu Oct 10 07:18:55 UTC 2024


On 10/8/2024 11:08 PM, Jonathan M Davis wrote:
> So, if
> 
>      this(S)
> 
> suddenly becomes a move constructor, existing code will have a normal
> constructor suddenly turned into a move constructor.

Yup. Kaboom.



More information about the Digitalmars-d mailing list