Move Constructor Syntax

Walter Bright newshound2 at digitalmars.com
Sun Oct 6 16:55:08 UTC 2024


Good thoughts! One reason I like the `=this` syntax is its similarity to the 
existing `~this` syntax. Having `this(=S)` is inconsistent, and would lead to 
awkward questions like "why can't I use `=` on other parameters?"


More information about the Digitalmars-d mailing list