I have the following function/constructor/method (I'm not sure exactly what it is)
List<T>& List<T>::operator=(const List<T> &x)
where List is a linked list and this is supposed to do assignment. However, I'm not sure exactly what this is supposed to return. Eclipse keeps telling me that control reaches end of non-void function; however, I'm not sure exactly what. I'm new to C++ so keep the answers simple if posssible. Thanks :)