Sorry, Im a little new to Rust, but I'm,as many, now considering moving
from c++ to Rust and the topic is really important for my tasks.

Could you give an Rust example for the concern listed above?

Thank you!
On Jun 12, 2014 9:51 PM, "Patrick Walton" <[email protected]> wrote:

> On 6/12/14 10:46 AM, Tommi wrote:
>
>> `Copy` types aren't really relevant to a discussion about adding to
>> Rust the C++ like optimization of moving rvalues (of non-Copy types)
>> when they're passed to certain functions.
>>
>
> There's nothing to add to Rust. Rust supports moves.
>
> Patrick
>
> _______________________________________________
> Rust-dev mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/rust-dev
>
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to