Discussion: Rvalue refs and a Move construtor for D

kinke noone at nowhere.com
Thu Aug 29 21:51:14 UTC 2019


On Thursday, 29 August 2019 at 20:26:10 UTC, kinke wrote:
>     else // void wrapper(@rvalue ref NoPOD s)
>     {
>         // call rvalue overload, perfectly forwarding the `s` 
> rvalue reference
>         callee(s);
>     }

This should have been: `callee(move(s))`.


More information about the Digitalmars-d mailing list