I have a problem with using a pointer to function in C++. Here is my example:
#include using namespace std; class bar { public: void (
forward foo's declaration in front of bar:
class foo;