[Bug c++/14644] enum of value zero not converted to (null) pointer
schwab at suse dot de
gcc-bugzilla@gcc.gnu.org
Tue Mar 28 23:01:00 GMT 2006
------- Comment #3 from schwab at suse dot de 2006-03-28 23:01 -------
But [expr.const] also says:
An integral constant-expression can involve only literals (2.13), enumerators,
...
Thus enumerators are also integral constant expressions. The distinction
between integral and enumeration is only at the type level, not as an
expression.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14644
More information about the Gcc-bugs
mailing list