Tags C++17 C++17: Initialization in Selection Statements admin October 21, 2017 C++17 enhances if and switch statements with the ability to define variables whose life-time is limited to the corresponding scope.