The following code works fine
#include using namespace std; using namespace std::placeholders; class A { int operator()( int i, int j
You need a cast to disambiguate the overloaded function:
(int(A::*)(int,int))&A::operator()