How to function<void(string message)> somePointer; set to member function ? I have inside
class Temp {
public:
void test(string message) {}
};
and I tried somePointer = &Temp::test; but got error. How to bind somePointer to member function of some class ?
Aucun commentaire:
Enregistrer un commentaire