template<typename T> using Vec = std::vector<T, MyAlloc<T>>;//给一个化名 Vec<int> coll; //typedef 做不到,typedef不能接受参数 //define 也不行 //#define Vec<T> template<typename T> std::vector<T,MyAlloc<T>>; //Vec<int> coll;