typedef int (*PFI)(int arg);             // C or C++
typedef int (Classname::*PFI)(int arg);  // C++ only

Example 1: Function pointer type definitions.

Back to Article