#include <iostream>

class Hoge {
private:
  static void f() { std::cout << "hoge" << std::endl; }

public:
  static void (*get_f())() { return f; }
  Hoge() {}
};

int main() {
// ordinary
    Hoge *hoge = new Hoge();
    hoge->get_f()();
    delete hoge;
}
/* end */
