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

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
GCC is correct to reject this code.

In order to test whether the lambda is invocable it needs to be instantiated,
which triggers an error in the lambda body. That is outside the immediate
context of the concept check.

Reply via email to