[Bug c++/114106] Wrong result of decltype

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Feb 25 22:01:38 GMT 2024


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |c++-lambda
             Blocks|                            |107430

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>decltype([](Type<Ts>){})

Yes lambdas inside a decltype is known to cause issues.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107430
[Bug 107430] [meta-bug] lambda in decltype


More information about the Gcc-bugs mailing list