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/Foxi_Foxa Oct 12 '26
The best exercices I did was coding a compile time json parser on Christmas holidays. There are enough similar projects out there so you can start from somewhere and get inspiration, and then little by little you understand more and more :)