Reducing C++ template bloat by factoring out type-dependent portions of the function -- Raymond Chen
C++ templates make code reusable, but repeated expansions can quickly increase code size, especially when lambdas are involved. This article explores practical ways to reduce template bloat by separating type-dependent code from the common logic. Reducing C++ template bloat by factoring out…
Sources
- T1Reducing C++ template bloat by factoring out type-dependent portions of the function -- Raymond ChenLanguage blogs: Rust / Go / TypeScript / Swift / Kotlin / Java / .NET / Ruby / PHP / Elixir / ISO C++