I have a function pointer to a member function in class. How do I initialize this function pointer since I get a warning on compilation every time. Here is the code:
//Node.h
class Node{
bool (Node::*strategyPointer)(const unsigned int&);
Node();
};
//Node.cpp
Node::Node(){
//How do I initialize my pointer here?
}
thanks