Discussion Thread: DIP 1040--Copying, Moving, and Forwarding--Community Review Round 1
Walter Bright
newshound2 at digitalmars.com
Sat Mar 13 03:12:02 UTC 2021
On 3/12/2021 3:47 PM, tsbockman wrote:
> ...
You make a good point, that the user should define both the Move Assignment and
Move Constructor, or neither. Just one of the pair should be an error. I agree
that it would be red flag if just one appeared in the code, indicative that the
programmer did not think it through.
More information about the Digitalmars-d
mailing list