Hi,
The following code gives an error:
The problem seems to be with the typedef. Why is this not allowed?Code:#include<vector> template <class range_type, class T> class range_vector { public: typedef std::vector<T>::iterator iterator; protected: std::vector<T> v; range_type range_start; };
Thanks!




Reply With Quote