https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77449
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Status|UNCONFIRMED |NEW Last reconfirmed| |2019-04-01 Ever confirmed|0 |1 --- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Roland B from comment #2) > (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. OK I'll take your word for it then, I guess, and confirm it... adding the "rejects-valid" keyword because that's what it sounds like it is