[Bug c++/108254] Usage of requires expression with an immedietely invoked lambda expression results in compile error instead of evaluating to false

ppalka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 3 18:27:27 GMT 2023


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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppalka at gcc dot gnu.org
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Thanks for the bug report.  I believe this is a dup of PR103760, and GCC is
correct to reject the program according to the current wording/intent of the
standard.

*** This bug has been marked as a duplicate of bug 103760 ***


More information about the Gcc-bugs mailing list