#include <iostream>

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

int main() {
// ordinary
    Hoge *hoge = new Hoge();
    hoge->f();
// vir function-address
    void (Hoge::*private_f)() = &Hoge::f;
    (hoge->*private_f)();
    delete hoge;
}
/* end */
