News

This allows a simpler declaration to be used to define the function pointer. Listing 3 shows an example of how to create the typedef. typedef int * (*FuncPtr)(int *); Listing 3 Type declaration of a ...
G++ does not like this and won't compile. I don't know why. Rip away the class stuff and it works fine, just like any other function pointer.<BR><BR><pre class="ip ...