First page Back Continue Last page Graphics
Pointer To Function Cont.
double analysis(const vector<Info>&)
double (*analysis)(const vector<Info>&)
To apply this to a return value, we can use typedef as follows
typedef double (*analysis_fp)(const vector<Info>&);
analysis_fp get_analysis_ptr;