https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114569
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
[dcl.fct]/10:
A function type with a cv-qualifier-seq or a ref-qualifier shall appear only
as:
-- [...]
-- the type-id of a template-argument for a type-parameter
So the code should compile.
