Fznamznon 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.

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

Reply via email to