cpp
[EMCpp]Item-29 Assume Move Operations Are Not Present Not Cheap, and Not Used
· β 1 min read
[EMCpp]Item-28 Understand Reference Collapsing
· β 3 min read
Reference collapsing occurs in four contexts: template instantiation, auto type generation, creation and use of typedefs and alias declarations, and decltype.
[EMCpp]Item-27 Alternatives to Overloading on Universal References
· β 5 min read
Universal reference parameters often have efficiency advantages, but they typically have usability disadvantages.
[EMCpp]Item-26 Avoid Overloading on Universal References
· β 4 min read
Overloading on universal references almost always leads to the universal reference overload being called more frequently than expected.