Suppose there is a class by name classA, and we initialize
1 2 3 4
classA *This = (classA*)this; // this is the this pointer
if(eval) {
This->_score = (*eval)(*This);
}
here, eval is of some datatype Evaluate, and _score and eval are both members of class classA. I would like to know what the expression (*eval)(*This) means... Because I get segmentation error when I try to run this code... Its not my code, its from a library supposedly.