Recap on the modern C++ talkswe first talked about the template and how the type deduction plays a critical role in the usage of other declarations like auto. In the three cases where the template type deduction is used, paramtype is a reference or pointer. but not universal ...3 min read·tempted.devJan 6, 2023
Use constexpr whenever possible.If there were an award for the most confusing new word in C++11, constexpr would probably win it. When applied to objects, it’s essentially a beefed-up form of const, but when applied to functions, it has a quite different meaning. Cutting through th...4 min read·tempted.devJan 5, 2023