[Bug c++/105999] Wrong requires result inside lambda in a class

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 21 00:39:57 GMT 2022


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

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |WAITING
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2022-06-21

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> clang prints x also ....

So does MSVC.

I suspect this might be defect in the standard; or maybe not as all compilers I
tried agree.

More information about the Gcc-bugs mailing list