All pastes #163154 Raw Edit

Untitled

public text v1 · immutable
·published 2006-09-07 07:14 UTC
rendered paste body
#include <tr1/functional>

class X {
public:
    void y(int a, int b) { }
    void y() { }
};

int main()
{

    X x;
    std::tr1::bind(&x, &X::y, 1, 2);

}

In function ‘int main()’:
error: no matching function for call to ‘bind(X*, <unresolved overloaded function type>, int, int)’