On 7/5/13 10:42 PM, Ashish Myles wrote:
And an additional question.
3. What is the rationale in having both Copy and Clone? Can one
provide an exhaustive list for where one would want to use Copy
instead of Clone/DeepClone? I tried to use clone everywhere, but I
needed <T : Copy + Zero> to be able to write, for example,
[Zero::zero(),.. 3] as in the following code
I'm busy removing Copy from the language right now.
Regarding your initial question, we need some implementations of Clone
for various standard vector sizes in the standard library.
Patrick
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev