The error (in the title) pops up at line 13 when trying to call the function pointer How do I go about fixing this?
class A { public: typedef void (*FP)(); FP fp;