December 2021
Intermediate to advanced
576 pages
19h 3m
English
“The ultimate mystery is one’s own self.”
—Sammy Davis Jr.
Meta-Programs are programs on programs. We will discuss this intriguing asset thoroughly in this chapter. In particular, we will look at three major applications of it:
These techniques allow us to make the examples from the preceding chapters more reliable, more efficient, and more broadly applicable. At the end of the chapter (§5.6) we will show why every algorithm can be computed during compilation in C++.
Meta-programming in its full extent was probably discovered thanks to a bug. Erwin Unruh wrote in ...
Read now
Unlock full access