
24 Aug
2011
24 Aug
'11
4:52 p.m.
On 24/08/2011 18:43, Thomas Heller wrote:
Nice! I like the general idea of it! However, I am not really sure if adding stuff like this to phoenix::actor doesn't break stuff.
My suggestion would only affect evaluation of the 'call' proto node, not phoenix::actor.
As noted in one of my other posts, the problem is not really if the function is polymorphic or not. The problem is in variadic functions. I can't see a way to automically guess which overload the user wanted to call.
By polymorphic functions, I meant to say "functions with a template or overloaded operator()", which covers variadic functions. But that clarifies the problem indeed, the problem is in variable arity.