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

#3315
Tanishq
Participant

Assalmaulaikum Asad, This is not wot i wanted… i wanted to have a pointer to a member function and not a pointer to object….
Ex: int (abc:: *ptr)(int );here ptr is an pointer to a member function of the class…
something like this which is very generic and can hold the address of every function of that class..