[Bug c++/89239] gcc claims that this expression is not constexpr
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 7 15:49:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89239
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org,
| |jason at gcc dot gnu.org,
| |mpolacek at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Already 4.6 rejects this, so likely not a regression (4.4 rejected it for other
reasons, insufficient C++11 support). Using integer indexes rather than
enumeration ones fixes it too.
More information about the Gcc-bugs
mailing list