Overview
This course aims to help learners rethink the usage of C++ templates by addressing challenges faced by both library implementers and users. By sharing experiences from implementing the Physical Units Library for C++, the course covers strategies to improve compile-time errors, reduce long type names, and enhance compilation times. Through simple examples and benchmark results, participants will learn how to design templated code more efficiently, considering the Rule of Chiel. The intended audience for this course includes C++ developers interested in template metaprogramming, code performance, and compile-time optimization.
Syllabus
Rethinking Usage of C++ Templates - Mateusz Pusz - code::dive 2019
Taught by
code::dive conference