xcode下编译报错:ISO C++ forbids declaration of 'iterator' with no type出错点:template<class T>class MyVector: public std::vector<T>{public: typedef std::vector<T> vecType; typedef vecType::iterator vecIterator; //报错 MyVector(){}; MyVector(const vecType& _vec); //....... //..... Read More