Yes, that does work, but actually is not quite what I want to do. I made a
mistake in the original example.
In the corrected example, what I really want is for the second case to
return "bound match," which it doesn't do.
The line above the comparison doesn't compile, and even so, is not quite
what I would like either. That is, I want to know which member function the
func object is bound to, and don't really care about the values of the
arguments (which I don't know). Thanks!
int main(int, char**)
{
Data d(1, 2);
Foo fx, fy;
boost::function