Bug in type in error message.

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Tue Mar 7 23:53:00 GMT 2000


> Moreover, I feel this should compile anyway - but that is another story ;)

On that story: No, it shouldn't. For dummy<0>,dummy<0>, the call is
indeed ambiguous; neither is dummy<0>,dummy<n> more special that
dummy<n>,dummy<0>, nor vice versa.

Adding

  double ch(dummy<0>, dummy<0>)
  {
    return 1;
  }

to your program makes it compile.

Regards,
Martin


More information about the Gcc-bugs mailing list