... 都使用英文字母 T。樣版函數內可以使用不只一種暫定的資料型態。例如: template <class T1,class T2,class T3> T1 Func(T1 x,T2 y,T3 z) { // .
確定! 回上一頁