1 2 3 4 5 6 7 8
struct B { int i(); int j(); }; void foo(int (B::*Fn)()); void test() { foo(&B::i); foo(&B::j); }