Why are structs and classes so different?

Tejas notrealemail at gmail.com
Mon May 16 04:20:14 UTC 2022


On Sunday, 15 May 2022 at 21:33:24 UTC, Ali Çehreli wrote:


> D programmers don't write move constructors or move assignment. 
> Such concepts don't even exist.



Never say never :

https://github.com/dlang/DIPs/blob/master/DIPs/DIP1040.md

Walter is one of the authors of the DIP

Also, there's `opPostMove` already within the language



More information about the Digitalmars-d-learn mailing list