[Bug c++/119239] GCC fail to reject odr-use of local constant in template lambda without capture

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 12 17:14:26 GMT 2025


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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Interesting MSVC rejects it for C++17 but accepts it for C++20.


More information about the Gcc-bugs mailing list