switch Statement (C++)
The expression must be of an integral type or of a class type for which there is an unambiguous conversion to integral type. Integral promotion is performed as described in Integral Promotions. The switch statement body consists of a series of case labels...