
30 Mar
2007
30 Mar
'07
3:58 p.m.
Quoting Daniel Walker:
OK, thanks for the help. I was trying to simplify my code to replicate the error I'm getting, and I may have gone to far. Can you tell me if the following contains a substitution?
static const int size = sizeof(f<T>(0, 0));
At first sight, I would have said that it does. But on further reflexion, it probably does not, as there is no deduction from the argument types. But if you use f((T*)0,0) instead, then it should work. Best regards, Guillaume