04-10-2024, 02:48 PM
You're right, it is equally bad.
We may have been too explicit in the description by saying "#if 0". In the next version this may be replaced by something more general, such as "The preprocessor shall also not be used to 'comment out' code"
We may have been too explicit in the description by saying "#if 0". In the next version this may be replaced by something more general, such as "The preprocessor shall also not be used to 'comment out' code"
Posted by and on behalf of
the MISRA C++ Working Group
the MISRA C++ Working Group