I keep getting the error "using a class template requires a list of template arguments" when compiling the following code in VC ++ 6. What is wrong with it?
template <class T>
class StdVector{
public:
StdVector & operator=(const StdVector &v);
};
template <typename T>
StdVector & StdVector<T>::operator=(const StdVector &v){
return *this;
}
source
share