https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99730
Bug ID: 99730 Summary: gcc cannot choose the best overload resolution with constrained function Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: hewillk at gmail dot com Target Milestone: --- auto f(auto&&...) {} auto f(auto...) requires true {} int main() { f(); } gcc reject with: <source>:5:5: error: call of overloaded 'f()' is ambiguous 5 | f(); | ^ https://godbolt.org/z/e8jas5frc