[Bug c++/97458] C++ parsing fails when calling specialized template method inside lambda

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 27 09:20:10 GMT 2021


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-07-27
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
An easier work around is:
[p](){ p->template fn<int>(); }; 

Confirmed.


More information about the Gcc-bugs mailing list