Introduction
Get introduced to the concepts we will learn in this chapter.
We'll cover the following...
C++ has the ability to evaluate expressions at compile time, meaning that values
are already calculated when the program executes. Even though metaprogramming has been possible since C++98, it was initially very complicated due to its complex template-based syntax. With the introduction of constexpr
, if constexpr
, and recently, C++ concepts, metaprogramming has become much more similar to writing regular code.
Access this course and 1400+ top-rated courses and projects.