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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|c++-lambda                  |

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note if we change the type alias also away from using auto, GCC starts
rejecting the code correctly.

Also as noted it is not lambda related, just needs to be a template function (a
generic lambda is a "templated" function).

Reply via email to