https://bugs.llvm.org/show_bug.cgi?id=42213
Richard Smith <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #1 from Richard Smith <[email protected]> ---
Clang's behavior is correct.
GCC misparsed the second parameter and somehow believes A was given only one
template argument.
MSVC and EDG/ICC are complaining that a prior function parameter was used in a
later parameter, but that can be valid (depending on the type T and what
overload resolution for operator== finds), so that error should not occur until
substitution when it should be suppressed by SFINAE.
--
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