This is not a copy constructor.
This is an assignment operator.
Copy constructor signature would be something like
LinkedList(const LinkedList& rhs);
Remember constructors don't return anything.
Quote:
is working with references to the variables, why does it need to return anything and where are the return values going?
So that you could do something like
list1 = list2 = list3 = list4 = ...
Quote:
he never increments p_itr
You probably need to look inside the
insert
method to figure out if anything happens there.
Quote:
operator= (const Player& other);
Not correct. In fact this is the signature for a copy constructor like
Player(const Player& other);