5 Mar
2004
5 Mar
'04
02:29
On 05 March 2004 am 01:46, John Lamb wrote:
You can also have pointers to functions:
double (*function)(double) // pointer to a function that has a double // argument and returns a double.
class members:
TYPE A::*d;
member functions:
double (A::*function)( double )
Just want to add that in C++, pointer to a non-static member function has the "this" hidden parameter. Regards, Verdi