This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/77449] False ambiguity for variadic function with non-deduced template parameter


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77449

--- Comment #2 from Roland B <rbock at eudoxos dot de> ---
(In reply to Eric Gallager from comment #1)
> As a human reader who doesn't know C++ very well I'd consider it to be
> ambiguous, too... maybe as a compromise the error could be downgraded to a
> warning?

"int" is more specified than "typename Check", see also
http://stackoverflow.com/a/39295906/2173029

g++ agrees to this under pretty much all circumstances, except this one with a
parameter pack.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]