10-11-2023, 03:03 PM
The intent of the rule was to apply to expressions that could be evaluated at compile-time.
Hence both your examples are non-compliant.
This will be addressed in the new version - due imminently.
Hence both your examples are non-compliant.
This will be addressed in the new version - due imminently.
Posted by and on behalf of
the MISRA C++ Working Group
the MISRA C++ Working Group