template class T 什麼意思

很少說,直接上代碼c++ #include<bits/stdc++.h> using namespace std; template < class T >//template < typename T > T mmm( T a, T b ) { return a < b ? b : a; } //在這就至關於一種類型 int main() { int x=10, y=10; int z=mmm<
相關文章
相關標籤/搜索