SyntaxFix
Write A Post
Hire A Developer
Questions
typedef void (Dog::*memfun)(); memfun doSomething = &Dog::bark; .... (pDog->*doSomething)(); // if pDog is a pointer // (pDog.*doSomething)(); // if pDog is a reference