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

Waffl3x <waffl3x at gcc dot gnu.org> changed:

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

--- Comment #1 from Waffl3x <waffl3x at gcc dot gnu.org> ---
https://eel.is/c++draft/expr.prim.req#simple-1.sentence-2
https://eel.is/c++draft/expr.prim.req#compound-1.sentence-2
> The expression is an unevaluated operand.

As the expression in a requires expression is an unevaluated operand, I
believe the current behavior is correct and Clang is incorrectly
evaluating the requires expression to false.

Reply via email to