Move Constructor Syntax

Walter Bright newshound2 at digitalmars.com
Thu Oct 10 07:16:37 UTC 2024


On 10/8/2024 11:08 PM, Manu wrote:
> Can you show some cases where the 
> distinction is necessary?

I tried to in the other post you made.

Recall that C++ had to invent a whole new type to make it work - rvalue references:
```
S(S&&)
```
I wish to avoid that.



More information about the Digitalmars-d mailing list