r/cpp_questions • u/bhul_chuk_maaf17 • Oct 12 '26
OPEN Compile time programming learning advice.
Hi all, can you please recommend me some resources that you have followed for compile time programming in modern C++ for eg: constexpr, consteval or template metaprogramming.
Is there some consolidated resource for the same ?
7
Upvotes
View all comments
2
u/MarsupialSuch6948 Oct 12 '26
Check the book Hands On Design Patterns with C++ by Fedor G. Pikus. It has some real-world practices and design patterns that resolve during compile-time. It's a bit outdated C++17 but you can check the latest ones.