https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106398
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 CC| |jason at gcc dot gnu.org, | |marxin at gcc dot gnu.org Status|UNCONFIRMED |NEW Last reconfirmed| |2022-07-22 --- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- Started with r9-4045-g0c1e0d63fe0ceabb, it was rejected before the revision with: pr106398.c: In function ‘void intersect(const set<T>&, const set<T>&)’: pr106398.c:13:56: error: lambda-expression in unevaluated context 13 | auto f = [&]<typename T1>(T1&& _1) noexcept(decltype([] { | ^ pr106398.c:13:47: error: decltype evaluates to ‘<type error>’, which is not a class or enumeration type 13 | auto f = [&]<typename T1>(T1&& _1) noexcept(decltype([] { | ^~~~~~~~