Reducing C++ Template Bloat: Practical Exam -- Raymond Chen

C++ templates can easily generate unnecessary code when lambdas are involved, since every lambda has its own unique type. Here, we take template-bloat reduction one step further by eliminating the template entirely and relying on a common callable type. Reducing C++ template bloat by factoring out…

dev

Sources