I forgot to report another important problem about calldef_organizer_t.
I have a case like this:

class Foo
{
public:
   void setValue(bool v);
   void setValue(int v);
   void setValue(double v);
};

Actually, enabling USE_CALLDEF_ORGANIZER, the "bool" override is registered
after the "int" one but before "double" and so the python code:

f = Foo()
f.setValue(True)

invokes the "double" override.
The problem is that "is_related" method invokes is_integral and not is_arithmetic
as I expected: I think that this is another reason to implement a custom "is_related"
method in calldef_organizer_t.



Ti piace giocare? Tre nuovi giochi Messenger per te!