ychen added a comment.

In D128750#3662898 <https://reviews.llvm.org/D128750#3662898>, @royjacobson 
wrote:

> but in your example with T/U/V we have 3 template parameters that we could 
> reorder in 6 different ways.

But, any reordering of the 6 that does not have consecutive U and V  is not 
valid. Because in the other template, T/U is consecutive and used by X<T, U> in 
that order. I don't think it is allowed to change the template parameter 
references in the function parameters.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128750/new/

https://reviews.llvm.org/D128750

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to