怎样实现数组的特化?这样写有错啊
template<typename T> void t_sort(T *a, unsigned int N){ //code }
调用示例:
int a[100]; float b[50]; t_sort(a, 100); t_sort(b, 50);