We have:
class A
{
public:
void f(int){}
void f(double){}
};
Let's use this way:
A a;
boost::bind( mem_fun_res<void, A, int>(&A::f), &a, 10 );
instead of:
boost::bind( (( void(A::*)(int) )&A::f), &a, 10 );