xvalue and std::move in D
Nicolas Sicard
dransic at gmail.com
Thu Mar 6 04:08:34 PST 2014
On Thursday, 6 March 2014 at 11:49:51 UTC, Edwin van Leeuwen
wrote:
> On Thursday, 6 March 2014 at 11:28:21 UTC, Mike Parker wrote:
>>
>> See std.algorithm.move
>>
>
> Thank you, can't believe I missed that. How do I specify that
> the function expects a temporary/xvalue (&&) parameter though?
What are you trying to do? D is not C++11. Pure functional
programming in D follows a different path.
More information about the Digitalmars-d-learn
mailing list