xvalue and std::move in D

bearophile bearophileHUGS at lycos.com
Thu Mar 6 04:01:24 PST 2014


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


More information about the Digitalmars-d-learn mailing list