Is this legal C++? It's rejected by GCC, but accepted by Clang. https://godbolt.org/z/GrGk5Y This version, with a non-template derived class, is accepted: https://godbolt.org/z/PEAGNS
Is this legal C++? It's rejected by GCC, but accepted by Clang. https://godbolt.org/z/GrGk5Y This version, with a non-template derived class, is accepted: https://godbolt.org/z/PEAGNS
![]() |