3 ms·
People do think about this all the time in C++ and it is very common to get code review comments about avoiding copies if you overlook such things.
by dman 5y ago
People do think about this all the time in C++ and it is very common to get code review comments about avoiding copies if you overlook such things.
- Koshkin 5y agoYup, and I wish the compiler would give a warning on a use of a copy constructor...