zygoloid wrote: > I'm not sure I understand why gcc is giving an error in > https://godbolt.org/z/qGfnzhfsK. It doesn't give an error with `typename` > keyword and I think there shouldn't be any difference since `Y::E` refers to > current instantiation and is being used by class member declaration so no > `typename` required. cc @shafik @cor3ntin @zygoloid for an opinion.
This looks like a GCC bug to me. I think the presence or absence of `typename` isn't supposed to make a difference in an implicit typename context. https://github.com/llvm/llvm-project/pull/73018 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits