https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117061
eczbek.void at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #5 from eczbek.void at gmail dot com --- This is probably invalid, because lambdas can only have captures if they are in block scope, and the noexcept specifier/requires clause are outside it https://eel.is/c++draft/expr.prim.lambda.capture#3 https://eel.is/c++draft/dcl.fct.def#nt:function-body https://eel.is/c++draft/basic.scope.block#1 :(