I am trying to overload the assignment operator to copy two linked lists (List1 = newList). and i want the data members of the arguement and everythin to which the data members point copied..
so i guess in my template(ItemType)/class(List) i should have a member function like this:
void operator=(List<ItemType>);
and in its implementatoin sumthin like this:
template<class ItemType>
void Stack<ItemType>:perator=(List<ItemType> newList)
{
//now im just havin trouble as to fillin in the body
}
where do i go from here?