if constexpr
The lesson explains why 'if constexpr' should be used, and how it is different from simple if statements.
We'll cover the following
Th​is is a big one!
The compile-time if
for C++!
The feature allows you to discard branches of an if
statement at compile-time based on a constant
expression condition.
Get hands-on with 1400+ tech skills courses.