https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77912
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|class template deduction |[C++17 feature] class |fails in template functions |template deduction fails in |and generic lambdas |template functions and | |generic lambdas --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This feature was only added to C++ in C++17 :). Now wonder this is the first time I heard about it :).