Explore an alternative approach to C++ metaprogramming that doesn't require understanding traditional template techniques in this conference talk from CppCon 2024. Kris Jusiak demonstrates how anyone who can write C++ can become a metaprogramming guru without the steep learning curve of angle bracket syntax. Learn about compilation times, testing, and debugging in modern C++, and discover how static reflection proposals and C++20 ranges can improve meta-function writing. The presentation compares C++ with other languages like Circle while showing how to apply these techniques with C++17 on all major compilers. Includes benchmarks of different metaprogramming approaches with their strengths and weaknesses. Perfect for developers interested in metaprogramming or those who want to understand its practical applications but have struggled to grasp them.
Overview
Syllabus
Template-less Metaprogramming in C++ - Kris Jusiak - CppCon 2024
Taught by
CppCon