I'm guessing List<ItemType>::data is of type 'ItemType *'. Line 9 is attempting to dereference an uninitialized pointer. The correct way would be curr->data = new ItemType(*aPtr->data);
Please don't edit your post to remove the question. Half of the point of a Q&A forum is that people can search for similar problems and how other people have solved them.