Topic: what exactly this means, somebody explain it to me, please


Author: wwpaxg@urc.tue.nl (Xie Gaohong)
Date: 24 Jan 95 13:48:29 GMT
Raw View
Hi, C++ gurus:

I have some problem in understanding the following:

template <class T>
LRESULT(T::*LRESULT_WPARAM_LPARAM_Sig(LRESULT(T::*pmf)(WPARAM, LPARAM)))
   (WPARAM, LPARAM)
 {
 return pmf;
 }

Or
template <class T>
 void(T::*v_Sig(void(T::*pmf)())) ()
  {
  return pmf;
  }


It seems to me that the function call has nothing to do with function arguments,
but returned a a member of function pointer from function names, can any one
explain it to me more clearly. Or I need to update some latest C++ features.

Many Thanks

e-mail to : wwpaxg@urc.tue.nl

Gaohong Xie