mizvekov wrote:

> Wow, I would never have thought it was a problem. Making these the same type 
> removes the compilation error. Can you explain why this is a problem from the 
> C++ standard PoV?
That's https://eel.is/c++draft/temp.deduct.type#20

In deduced contexts for an NTTP, the type of the argument and the parameter 
must match exactly.

https://github.com/llvm/llvm-project/pull/100692
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to