
2 Jun
2008
2 Jun
'08
3:18 p.m.
Michael Bradley Jr:
Did google a bit and one possible solution was boost::function in combination with boost::bind. But I'm not familiar to that ;(
You need to change the foobar in
typedef int (*foobar)(A*,B*);
void do_something(foobar cb);
to boost::function