Closed jamesjer closed 5 months ago
Okay, I added the PlUnwrapAsPtr
change as well. I have not checked any version of gcc older than 12.2, for the record.
If I read the rationale correctly, it's not necessary to remove the <...>
from friend functions, but it probably does no harm either.
I've tested the changes with g++-11 (there doesn't seem to be a Debian package for g++-10, only gcc-10).
In C++20, a simple-template-id is no longer allowed as the declarator-id for constructors and destructors. See https://cplusplus.github.io/CWG/issues/2237.html for the rationale. Recent versions of gcc warn about this: