Re:But I was helping the compiler
by jdashg on Saturday August 22, 2020 @01:58AM
(#24241995)
For perf, one generally uses memcpy unless memmove's semantics are needed. I think you have confused memcpy vs -move with copy vs move ctors. Certainly your last sentence is not correct for any reasonably written code. Check the docs yourself, but this doesn't match my understanding.
[ Parent
| on HN ]
There are no comments on this comment yet.