[Bug c++/88628] lambda expression in static_assert in if constexpr is not evaluated

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 28 11:02:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88628

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Why do you think it should fail to compile?  The static_assert in your example
is a discarded statement.


More information about the Gcc-bugs mailing list