3 ms·
But isn't it confusing that it is called "move" instead of "copy" if it takes copies?
by rdtsc 11y ago
But isn't it confusing that it is called "move" instead of "copy" if it takes copies?
- steveklabnik 11y agoMove and Copy are identical at the assembly level. The only difference is what you can do with the older binding. Semantically speaking, both cause a memcpy, though the optimizer may elide them. That said, you're right that saying "copy" is misleading, for this reason. But moves _are_ a kind of copy.