------- Comment #4 from bangerth at dealii dot org 2006-05-26 15:04 ------- (In reply to comment #1) > I think GCC 4.2.0 is correct in saying the function call is ambiguous, bar is > still a template class.
Most definitely, foo<int>::bar is not a template class, and the only thing the call to f() can match is the '...' argument. This is a regression post 4.0.x. -- bangerth at dealii dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Known to fail| |4.1.0 Priority|P3 |P1 Last reconfirmed|0000-00-00 00:00:00 |2006-05-26 15:04:02 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27689