------- 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

Reply via email to