3 ms·
Why is the switch necessary here, if you only have an else clause for it? Couldn't you just return the tag expression itself?
by winter_blue 3y ago
Why is the switch necessary here, if you only have an else clause for it? Couldn't you just return the tag expression itself?
- assbuttbuttass 3y agoThe "inline else" gets expanded at compile time into a separate case for each enumeration tag.