Move Constructors - Converting Lvalues to Rvalues

Walter Bright newshound2 at digitalmars.com
Tue Oct 1 17:41:34 UTC 2024


On 10/1/2024 12:25 AM, Dukc wrote:
> You can make it to work with a compiler instrinsic. The intrinsic would either 
> be an UDA applied to `move` that allows the compiler to make those assumptions, 
> or an intrinsic function that works along the lines of `nove` and `moveEmplace`. 
> The public DRuntime functions would forward or alias to the instrinsic function.

move() is an unhappy maze of templates. We need something a lot simpler.


More information about the Digitalmars-d mailing list