I'm new to C++ and I'm learning template classes and also dynamic memory allocation so if there are silly errors here I apologize. I can't tell exactly what the issue is in this code, but I can't seem to get the compiler to give me anything other than..
Undefined first referenced symbol in file indexList<timecard>::operator=(indexList<timecard> const&)/var/tmp//ccgqjCOv.o ld: fatal: Symbol referencing errors. No output written to a.out collect2: ld returned 1 exit status
template <class T>
indexList<T>& indexList<T>::operator=(const indexList<T> &other) const{
if(this != &other){
name = other.name;
ssn = other.ssn;
hours = other.hours;
payRate = other.payRate;
numOfDependents = other.numOfDependents;
unionMem = other.unionMem;
delete list;
list = new T[maxSize];
*list = *(other.list);
}//end if
return *this;
}