https://bugs.llvm.org/show_bug.cgi?id=44661
Richard Smith <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|INVALID |---
CC| |[email protected]
Status|RESOLVED |REOPENED
--- Comment #2 from Richard Smith <[email protected]> ---
Presumably the IFNDR is because the candidates are functionally equivalent but
not equivalent. That's easy to rectify:
template<typename>
concept c1 = true;
template<typename, typename>
concept c2 = true;
template<
c1 T1,
c2<int> T2,
c1 T3,
typename T4 = int
>
int f(T1, T2, T3, T4 = 0);
template<
c1 T1,
c2<int> T2,
typename T3
>
int f(T1, T2, T3);
... and Clang still reports this as ambiguous, which it isn't.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs