Move Constructor Syntax

Walter Bright newshound2 at digitalmars.com
Mon Oct 14 02:47:45 UTC 2024


On 10/12/2024 3:12 PM, Timon Gehr wrote:
> It seems to me that moving a `T` to an `S` and moving a `T` into an rvalue 
> constructor call for an `S` is not really a useful distinction, and the second 
> thing certainly makes sense.

Moving into an existing object is not the same as moving into an object that has 
not been constructed yet.


More information about the Digitalmars-d mailing list