Passing a pointer to a function inside a class

This is a discussion on Passing a pointer to a function inside a class within the C++ Programming forums, part of the General Programming Boards category; Hi
Im having trouble passing a pointer to a function as another function's parameter:
Code:
void takesFuncPtr(bool (*func)()) {}
class ...