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<
相关文章
相关标签/搜索