I have to do a custom \"vector\" class in c++ as homework for my university but I\'m struggling with the templates.
I get this error after I change all the variables\'
You should add template <typename T> in your friend declaration in class Vector.
template <typename T>
friend
Vector
template <typename T> friend ostream& operator <<(ostream& out, Vector<T> x); template <typename T> friend bool operator == (const Vector<T> &lop, const Vector<T> &rop);