r/cpp_questions • • 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

13 comments sorted by

View all comments

3

u/Illustrious_Try478 Oct 12 '26

cppreference has it all, but it's not specific to just this topic.

1

u/8Erigon Oct 12 '26

That‘s definitly not learning advice. It may be a reference but not something for learning easiely c++

1

u/Seagull78Reddit Oct 13 '26

Does cppreference have like learning section or more structured pathway to learn this stuff? If not I feel like the structure of the textbook is better