what is the meaning of: return _a != MAX_A_VAL ? I’ve not seen conditionals in a return statement beyond ternary operators. What’s this? By the way, this was used in an operator bool() class method.
what is the meaning of: return _a != MAX_A_VAL ? I’ve not seen conditionals
Share
It means do the comparsion
_a != MAX_A_VAL, and then return its result (trueorfalse)