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.