satoren/kaguya

Is there a way to use optional args with overloads ?

Sygmei opened this issue · 1 comments

For exemple if we have :

class Vector2
{
...
};
class A
{
public:
    void move(int x, int y, bool moveNow = true);
    void move(Vector2 pos, moveNow = true);
};

When binding, how should I use KAGUYA_MEMBER_FUNCTION_OVERLOADS ?

Nevermind, I found out the last parameter allows to specify a signature !