Move Constructors - Converting Lvalues to Rvalues

Walter Bright newshound2 at digitalmars.com
Tue Oct 1 06:39:21 UTC 2024


On 9/30/2024 9:55 PM, Per Nordlöw wrote:
> Ideally I would like to have a special syntax for converting an 
> l-value to an r-value.

Manu suggested an intrinsic, something like:

```
__rvalue(s)
```
where __rvalue is a keyword.



More information about the Digitalmars-d mailing list