[Bug c++/56868] Constexpr example in 7.1.5/5 fails to compile correctly
daniel.kruegler at googlemail dot com
gcc-bugzilla@gcc.gnu.org
Sun Apr 7 21:32:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56868
Daniel Krügler <daniel.kruegler at googlemail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel.kruegler at
| |googlemail dot com
--- Comment #6 from Daniel Krügler <daniel.kruegler at googlemail dot com> 2013-04-07 21:32:46 UTC ---
IMO this behaviour should be considered in the light of
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#903
Assuming the P/R of this issue becomes accepted, both
static_assert(g2(0) == 1, "g2 failed");
static_assert(g3(0) == 1, "g3 failed");
should fail.
More information about the Gcc-bugs
mailing list