Closed PhilipDeegan closed 1 year ago
I was only getting this error with GCC, CLANG doesn't seem to mind with C++20 I do think templates on the destructor definition is not necessary, unless someone can tell me otherwise?
Correct. The template syntax should not be on the declaration of a destructor in a class template. However, if you provide an implementation in the class header (outside of the class definition), the template syntax is required so the compiler knows which type the destructor is being implemented for.
I can reproduce this and posted an issue to address it. I intend to remove this everywhere, not just in the files touched here, so I'll close this PR.
Hi,
We're trying to see if we can upgrade safely to C++20, in doing so I got this error
There's probably some places remaining that I didn't remove the templates from, but this is what was required to allow us to compile.