http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55373
Bug #: 55373 Summary: Partial ordering of variadic function template Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: zeratul...@hotmail.com According to the last example in temp.func.order (14.5.6.2), the call to f below should be ambiguous, but GCC compiles the code and the calls #2: template <class T, class... U> void f(T, U...); // #1 template <class T > void f(T); // #2 void h(int i) { f(&i); // should be ambiguous, but calls #2 }