Entries from 2011-01-17 to 1 day
こういう事なのかなと。 #include <iostream> using namespace std; class Test { public: void Func1() { cout << "Func1" << endl; } void Func2() { cout << "Func2" << endl; } void Exec( void (Test::*hoge)() ) { (this->*hoge)(); } }; void TestFunc() { Test</iostream>…