2 virtual void Method() = 0;
6 virtual void Method() { }
9 typedef void (A::*fn_type_a)(void);
10 typedef void (B::*fn_type_b)(void);
12 int main(int argc, char **argv)
14 fn_type_a f = reinterpret_cast<fn_type_a>(&B::Method);
15 fn_type_b g = reinterpret_cast<fn_type_b>(f);