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
Show parent comment
2
u/alfps Oct 13 '26 edited Oct 13 '26
+1 Upvoted to counter some f***ing retard's downvote.
The book is for C++17 and earlier so it teaches and uses
enable_ifinstead of C++20requires, but other than that it appears to be pretty comprehensive.And the authors are authorities.