1
template <typename T1,typename T2>
2
2
1.部分模板参数特化
1
template <typename R, typename Arg1>
2
class A
3
}
2. 一种特殊的特化2
3
1
#include <stdio.h>
2
3
template<typename Signature> class function;
4
5
template<typename R >
6
class function<R (void)>
7
2
3
4
5
6
7