13-05-2022, 01:57 PM
Whilst the example doesn't violate the letter of this rule, it certainly is against the spirit and intension.
I'd not be surprised if an analysis tool reported this example as a violation.
I'd not be surprised if an analysis tool reported this example as a violation.
Posted by and on behalf of
the MISRA C++ Working Group
the MISRA C++ Working Group