#include <iostream>
using namespace std;
struct Example {
       void (Example::*foo)();
       
       void foo2() {}
    };
    
int main() {
	// your code goes here

    Example *a = new Example();
    a->foo = &Example::foo2;
    
    (a->*(a->foo))();
	return 0;
}