Could some one please explain a little bit of whats happening in this code, specially the argument of of the class constructor. What double(*y)(double) means?
And could you please tell me a little bit of what's going on in the constructor of the class, it's a inheritance case or may be d_y is receiving y as a parameter and ... ?
I want to split this into .h + .cpp files, for that I've tried the code that follows but compiler is returning
1 2 3
widget.cpp:80: error: no matching function for call to 'FunctionData::FunctionData(double (&)(double))'
functiondata.h:7: note: candidates are: FunctionData::FunctionData()
functiondata.h:5: note: FunctionData::FunctionData(const FunctionData&)