[c++] Grouping switch statement cases together?