Init Statement for if and switch
C++17 adds new features to 'if' and 'switch' statements. See more details in this lesson.
We'll cover the following...
C++17 provides new versions of the if
and switch
statements:
if (init; condition)
And
...