devxlogo

November 15, 2000

Taking an Address of a Member Function

The name of an ordinary function is implicitly converted to its memory address. For example: typedef int (*pf) ();int func();pf=func; // OK, ‘func’ is implicitly converted to ‘&func’ However, member