05-10-2017, 08:08 AM
We agree that there is an ambiguity in the wording as to what is meant by 'actual type'. It was not our intention that the example should be reported as a violation of 5-0-4 or anything else.
There is also an omission in the definition on page 55, it should say that an integer constant expression is made up only of literals or integer constants
This will be addressed in the next version
There is also an omission in the definition on page 55, it should say that an integer constant expression is made up only of literals or integer constants
This will be addressed in the next version
Posted by and on behalf of
the MISRA C++ Working Group
the MISRA C++ Working Group