GCC 11 compilation error - "template-id not allowed for destructor"
nebularnoise opened this issue · 2 comments
nebularnoise commented
EASTL/include/EASTL/internal/type_pod.h
Line 1724 in 29a805e
Since the implementaiton of DR 2237 "disallow simple-template-id in cdtor", the line of code above is not longer valid, and throws the following compilation error:
error: template-id not allowed for destructor
I believe the fix is just to ommit the <T> after the dtor name.
nicolasnoble commented
This prevents compiling with gcc in C++20 mode fwiw.