Public Comment Number PC-UK0061 ISO/IEC CD 9899 (SC22N2620) Public Comment =========================================== Date: 1998-01-19 Author: Clive D.W. Feather Author Affiliation: Self Postal Address: Demon Internet Limited 322 Regents Park Road London N3 2QQ United Kingdom E-mail Address: Telephone Number: +44 181 371 1138 Fax Number: +44 181 371 1037 Number of individual comments: 1 Comment 1. Category: Normative change to intent of existing feature Committee Draft subsection: 7.2.1 Title: Explicitly allow assert on non-integer arguments Detailed description: A DR response stated that assert need not correctly handle arguments which are not of type int but can be compared with zero. At the very least, this forbids arguments which are unsigned int or long, let alone other scalar types. Since it is trivial to have the macro convert any scalar to truth value integer by prefixing it with the !! operator, this restriction should be removed. In 7.2.1.1p1, change "int expression" to "scalar expression", where the word "scalar" is in italics. Add to paragraph 2, either after the first sentence or at the end: The argument of the /assert/ macro is any expression with scalar type.