3 ms·
Copy elision is in the set of things you shouldn’t expect someone who doesn’t program in C++ to know the intricacies of, but is important enough that most peopl
by opportune 6y ago
Copy elision is in the set of things you shouldn’t expect someone who doesn’t program in C++ to know the intricacies of, but is important enough that most people writing a lot of C++ should know it (especially since an extra copy constructor call may have unintended side effects and cause tricky bugs).
- pjmlp 6y agoAssuming you have proper knowledge of the whole codebase.