05-08-2009, 02:17 PM
According to the rationale of required rule 3-1-1 a header file should not contain or produce definitions of objects or functions.
Does this mean that the following definition of the null-pointer-constant NULL is non-compliant?
If so, what is a compliant definition of NULL then?
Best regards,
/J
Does this mean that the following definition of the null-pointer-constant NULL is non-compliant?
Code:
const int NULL = 0; // Compliant with rule 3-1-1?
Best regards,
/J
<t></t>