Binding functions with multiple arguments results in C2027
问题 I'm using ChaiScript 5.3.1, and I'm trying to bind functions to my own class, specifically a setPosition function which can take either a Vector3 or 3 floats. The class and it's relevant methods are declared like so: class DLLExport Actor { public: Actor(Level* level, const String& name, Actor* parent); virtual ~Actor(); void setPosition(const Real& x, const Real& y, const Real& z); void setPosition(const Vector3& position); }; and I'm trying to bind them like this: m->add(user_type<Actor>(),