way. Like so? Bootstrapped and regtested
on x86_64-pc-linux-gnu, does this look OK for trunk and perhaps 13?
OK for both.
-- >8 --
Subject: [PATCH] c++: converted lambda as template argument [PR83258, ...]
r8-1253-g3d2e25a240c711 removed the template argument linkage requirement
in
esult of a typeid expression (8.2.8), or
> >* a predefined __func__ variable (11.4.1). */
> > - else if (DECL_ARTIFICIAL (decl))
> > + else if (DECL_ARTIFICIAL (decl)
> > + /* Accept the artificial static op() of a lambda. */
> > +&&a
On 5/10/23 11:36, Patrick Palka wrote:
r8-1253-g3d2e25a240c711 removed the template argument linkage requirement
in convert_nontype_argument for C++17, but we need to also remove the one
in convert_nontype_argument_function for sake of the first and third test
case which we incorrectly reject (in
r8-1253-g3d2e25a240c711 removed the template argument linkage requirement
in convert_nontype_argument for C++17, but we need to also remove the one
in convert_nontype_argument_function for sake of the first and third test
case which we incorrectly reject (in C++17/20 mode).
And in invalid_tparm_re