xvalue and std::move in D

Remo remo4d at gmail.com
Thu Mar 6 04:07:52 PST 2014


On Thursday, 6 March 2014 at 12:01:25 UTC, bearophile wrote:
> Edwin van Leeuwen:
>
>> Thank you, can't believe I missed that. How do I specify that 
>> the function expects a temporary/xvalue (&&) parameter though?
>
> Thankfully D lacks the && operator.
>
> Bye,
> bearophile

But is also locks r-value references, and this is a problem.


More information about the Digitalmars-d-learn mailing list