c/10036: new keyword "boolif" that accepts only <stdbool.h>bool values "true" or "false" as arguments; comparison operators that return <stdbool.h>bool values.
bangerth@dealii.org
bangerth@dealii.org
Sat Mar 22 04:43:00 GMT 2003
Synopsis: new keyword "boolif" that accepts only <stdbool.h>bool values "true" or "false" as arguments; comparison operators that return <stdbool.h>bool values.
State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Sat Mar 22 04:26:01 2003
State-Changed-Why:
As desirable as this might be, I don't see any chance of this
being implemented. The standards provide default conversions
between integers and booleans, which would have to be
abandoned temporarily if inside if-statements. I cannot
imagine that people will want to work on this inside gcc
any time soon, so can't see a value in keeping this report
open.
Sorry
Wolfgang
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10036
More information about the Gcc-bugs
mailing list