Closed
Description
Since Copy
doesn't result in an automatic Clone
implementation, there are two entirely separate systems for doing copies. There are many types providing Copy
without a corresponding Clone
implementation and nothing enforces that Clone
performs the same operation.
Ideally, the trait system could allow an implementation of Clone
for T: Copy
without introducing problematic conflicts. If that's not possible, then something else should be done to provide a system that's at least as sane as the story in C++.