Untitled
public text v1 · immutabletemplate <class T>
Set<T> Set<T>::unionSet(void* unioned)
{
Set<T> *temp = (Set<T>*)unioned;
for(int i=0; i < pos; i++)
temp->insert(setPtr[i]);
return *temp;
}template <class T>
Set<T> Set<T>::unionSet(void* unioned)
{
Set<T> *temp = (Set<T>*)unioned;
for(int i=0; i < pos; i++)
temp->insert(setPtr[i]);
return *temp;
}