10-07-2017, 10:15 AM
Having multiple returns in a function violates 6-6-5 - which is required, so you cannot have a return in a case clause
Posted by and on behalf of
the MISRA C++ Working Group
the MISRA C++ Working Group