Synopsis: | Preprocessor Issues |
Description: |
This chapter concerns the usage of the preprocessor. |
Name | Checked | Synopsis |
---|---|---|
PRE#001 | ![]() |
Do not define macros instead of constants, enums, or type definitions |
PRE#002 | ![]() |
Use parentheses around macro and macro parameters |
PRE#003 | Be aware of side-effects when using macros | |
PRE#004 | ![]() |
Do not use the preprocessor directive #define to obtain more efficient code; instead, use inline or template methods/functions |