https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97202
Marek Polacek <mpolacek at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED CC| |mpolacek at gcc dot gnu.org --- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> --- This is C++20 DR 2237, disallow simple-template-id in cdtor: see [diff.cpp17.class]p2. Just the diagnostic we give is horrible ;(. Remove <T> to make this work.