Assume exist some class Foo with two overloaded methods:
class Foo
{
...
void m1(A& a);
void m1(B& b);
I need expose one of these methods over boost-python:
boost::python::class_<Foo>("Foo")
.def("m1", &Foo::m1)
How should I specify that signature of m1(A&a) should be used over m1(B&b)
1 Answer