摘要:
1 template <int N> 2 class X { 3 public: 4 typedef int I; 5 void f(int) { 6 std::cout << "f!" << std::endl; 7 } 8 }; 9 10 template <int N>11 void fppm (void (X<N>::*p)(typename X<N>::I) ); //此处调用了一个函数12 13 int main() {14 fppm(&X<33>::f);15 }上面第 阅读全文
posted @ 2012-09-06 17:18
愤怒的豆沙包
阅读(203)
评论(0)
推荐(0)

浙公网安备 33010602011771号