Search⌘ K

Introduction

Explore the fundamentals of compile-time programming in C++ including metaprogramming with templates, using type traits, constant expressions, and C++20 concepts. Understand how these techniques enable code optimization and how to apply them through practical examples.

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 ...