
28 Feb
2005
28 Feb
'05
8:22 p.m.
Daniel James wrote:
I was thinking about the overload resolution functions suggested a while back by Arturo Cuebas[1] and had no idea why the compiler needs to be told the number of parameters in the first place. So I took his code and removed the numbers from functions, and it worked (in gcc). I guess that it didn't work for him because of his compiler.
Funny, I thought we tried everything ;-)
Well, it almost worked. Sometimes there is more than the one function that fits the template parameters. So I kept the numbered overloads to be able to match them.
Could you give a general description of the types of cases that don't work? Jonathan