S
springer
Hi,
I have a template matrix class that wraps a std::vector. However, the
compiler is complaining about this:
typedef std::vector<T>::iterator iter;
typedef std::vector<T>::const_iterator citer;
iter begin(){ return mMatrix.begin(); }
iter end() { return mMatrix.end(); }
citer begin() const { return mMatrix.begin(); }
citer end() const { return mMatrix.end(); }
Any ideas? It compiles on VC++ 2002, but not on VC++ 2003.
I have a template matrix class that wraps a std::vector. However, the
compiler is complaining about this:
typedef std::vector<T>::iterator iter;
typedef std::vector<T>::const_iterator citer;
iter begin(){ return mMatrix.begin(); }
iter end() { return mMatrix.end(); }
citer begin() const { return mMatrix.begin(); }
citer end() const { return mMatrix.end(); }
Any ideas? It compiles on VC++ 2002, but not on VC++ 2003.