[Bug c++/124893] Error on lambda expression passed to concept with decltype(auto) parameter

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 15 16:10:12 GMT 2026


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

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
EDG rejects it too:
"<source>", line 9: error: template constraint not satisfied
        x<int>;
             ^
"<source>", line 5: note: type constraint failed for "int"
  template<A<[] {}>>
           ^


More information about the Gcc-bugs mailing list