16-02-2009, 01:01 PM
One of the examples given for rule 13.2 is:
Would it still be not compliant if y is of pointer type?
In case it is compliant, should 13.2 be interpreted as to be applicable only to expressions of integral type?
Code:
if ( y ) /* Not compliant, unless y is effectively Boolean data
(e.g. a flag) */
Would it still be not compliant if y is of pointer type?
In case it is compliant, should 13.2 be interpreted as to be applicable only to expressions of integral type?
<t></t>