template<class T> void f(T); int a[3]; f(a); // P = T, A = int[3], adjusted to int*: deduced T = int* const int b = 13; f(b); // P = T, ...
確定! 回上一頁