Discussion Thread: DIP 1040--Copying, Moving, and Forwarding--Community Review Round 1

Walter Bright newshound2 at digitalmars.com
Thu Mar 11 09:01:21 UTC 2021


On 3/11/2021 12:42 AM, Walter Bright wrote:
> Constructing from an rvalue essentially is move construction.

I forgot to mention that the new semantics only apply to EMO objects, which 
require both a move constructor and a move assignment operator. The move 
constructor is new syntax. Therefore, it shouldn't break existing code.


More information about the Digitalmars-d mailing list