Tag: Selection Statements

C++17 enhances if and switch statements with the ability to define variables whose life-time is limited to the corresponding scope. This is in keeping with the general guideline that variables should have a tight scope, i.e., should be defined as close to the point of use as possible and should not live beyond where they […]
Recent Comments