Hello everyone,
In the following statements,
1. I think pmf is a type of function pointer, the return type of the function is R and the function is a member function of type (class) T. Is my understanding correct?Code:template <class R, class T> class mem_fun_t : public unary_function <T*, R> { R (T::*pmf)() ... }
2. If yes, what is the parameter list of the function? Empty parameter list?
3. I doubt whether it is useful to define a function pointer with empty parameter list -- too restricted.
thanks in advance,
George