[Bug c++/124214] Templated class with static constexpr method compiles without warning about non C++11 compliant body
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 24 09:20:49 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124214
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Harald van Dijk from comment #3)
> Note that modifying the example accordingly shows that the diagnostic for
> that is incomplete up to and including GCC 15, but it seems to work with GCC
> trunk. I'm not seeing another bug for this, should I open one or is this
> something that's fine to have fixed for GCC 16 only?
That's Bug 123889
More information about the Gcc-bugs
mailing list