class class1 {
public:
void (class1::*proc)();
void method();
} c1;
c1.proc = c1::method;