31-10-2016, 03:12 PM
You're right that the C++ standard does describe sizeof as an operator, and sizeof(bool) is a well defined operation so ought to be allowed
This will be addressed in a future edition of the rules
This will be addressed in a future edition of the rules
Posted by and on behalf of
the MISRA C++ Working Group
the MISRA C++ Working Group