https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116306
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The reason why does not work the way you think it should is because lambda is not immediate context in the concept. See PR 103760 . *** This bug has been marked as a duplicate of bug 103760 ***