Rule M6-4-7 (required, implementation, automated)

The condition of a switch statement shall not have bool type. See MISRA C++ 2008 [7] Note: "‘The condition shall be of integral type, enumeration type, or class type. If of class type, the condition is contextually implicitly converted (Clause 4) to an integral or enumeration type."’ [C++14 Language Standard, 6.4.2 The switch statement]