Discussion: Rvalue refs and a Move construtor for D
Suleyman
sahmi.soulaimane at gmail.com
Thu Aug 29 03:43:07 UTC 2019
On Thursday, 29 August 2019 at 01:01:36 UTC, Mike Franklin wrote:
> The proposals presented seem to focus primarily on move
> semantics, but one of the other issues rvalue references aimed
> to solve was perfect forwarding. How does D do perfect
> forwarding with your proposal or without rvalue references?
>
> Mike
I discussed this with Manu which is pro rvalue ref and he made a
lot of good points, the most important thing is that rvalue ref
would drastically simplify the implementation of
`core.lifetime.move()`.
But he pointed out that auto ref already does perfect forwarding.
More information about the Digitalmars-d
mailing list