Move Constructors - Converting Lvalues to Rvalues

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


On 10/1/2024 12:27 AM, Dukc wrote:
> Why special syntax? `move` is a DRuntime function so it's expected that it can 
> have special semantics, even without special syntax.

Converting to an rvalue is an enabler of other functions, too, not just move. 
__rvalue is a building block, not a complete function.


More information about the Digitalmars-d mailing list