https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53506
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |66670 Keywords| |rejects-valid Last reconfirmed|2017-08-20 00:00:00 |2021-7-27 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note I do think the code is valid , some of this is recorded as PR 66670. Looks like clang cannot deduce return type still. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66670 [Bug 66670] "template argument deduction/substitution failed" with function pointers and multiple parameter packs