Assume exist some class Foo with two overloaded methods:
class Foo { ... void m1(A& a); void m1(B& b);
I need expose one of
Just for completion, it is also possible to have both of them exposed at python side:
void (Foo::*m1_a)(A&) = &Foo::m1; void (Foo::*m1_b)(B&) = &Foo::m1; boost::python::class_("Foo") .def("m1", m1_a) .def("m1", m1_b)