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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID
           Keywords|needs-bisection,            |
                   |rejects-valid               |

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Oh duh, this is actually DR 2237 that I implemented.  It says "A
simple-template-id is no longer valid as the declarator-id of a constructor or
destructor."

So instead of

  S<T>(Arg&&... arg);

write

  S(Arg&&... arg);

This is mentioned here too: https://gcc.gnu.org/gcc-11/changes.html

Reply via email to