[Bug c++/54021] [c++0x] __builtin_constant_p should be constexpr

luto at mit dot edu gcc-bugzilla@gcc.gnu.org
Sun Sep 9 06:05:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54021

--- Comment #8 from Andy Lutomirski <luto at mit dot edu> 2012-09-09 06:05:34 UTC ---
Did you mean "constexpr bool a" instead of "book const a"?  If so, I agree. 
But consider:

bool const a = something complicated

Is a a constant?



More information about the Gcc-bugs mailing list