shorten if condition c++ code example Example: shorten if condition c++ (condition) ? (if_true) : (if_false)