
7 Jul
2008
7 Jul
'08
2:49 p.m.
Correction: int main() { boost::function<int(int)> f; X x; f = std::bind1st( std::mem_fun(&X::foo), &x); std::cout << f(5) << std::endl; }