c++对于模板类模板 在使用时必须由指定明确。typedef只是定义别名,vector 的模板参数必须指定清楚。eg:typedef vector v(int);typedef vector v
用#define vector v吧
可以的!
向大神求证不如自己写代码验证一下可以看看stl的头文件