https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113110
Harald van Dijk changed:
What|Removed |Added
CC||harald at gigawatt dot nl
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113110
Andrew Pinski changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113110
--- Comment #4 from Andrew Pinski ---
(In reply to Jason Liam from comment #3)
> (In reply to Andrew Pinski from comment #1)
>
> > I suspect this is either a bug or an extension for MSVC.
>
> Are you sure? I mean if you add another template
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113110
--- Comment #3 from Jason Liam ---
(In reply to Andrew Pinski from comment #1)
> I suspect this is either a bug or an extension for MSVC.
Are you sure? I mean if you add another template parameter `U` to the second
parameter and use it then
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113110
--- Comment #2 from Andrew Pinski ---
I am almost want to say MSVC never implmented DR 214 which addresses this.
https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#214
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113110
--- Comment #1 from Andrew Pinski ---
EDG 6.5 also rejects the code:
```
(21): error: more than one instance of overloaded function "compare"
matches the argument list:
function template "int compare(const char (&)[N], const char