Home Forums C Programming Generic pointer to member functions of a class Reply To: Generic pointer to member functions of a class

#3316
shalizy
Participant

walakum salam nadeem bhai!!!

Now  you give correct requirement!!!  
we can declare a pointer to anf member functions which has any number and any type of arguments. But return type will be same .

int (abc:: *ptr) ( . . .)

I did’nt try to take return type as as  template. I dont template will woek or not…