
18 Jun
2005
18 Jun
'05
7:42 p.m.
"Tobias Schwinger" <tschwinger@neoscientists.org> wrote
Ah - thanks! We'll want to use this instead of function_type_arity, so default arguments work. Adding an assertion that the arity of the function is greater or equal to the number of elements in the tuple would be nice.
Unfortunately because its a pointer to a function it wont handle the default args, at least not in my test above. (OTOH this sounds reasonably sensible) Need to swap equal_to with greater_equal in attached to try this. regards Andy Little