[Solved] Class destructor, runtime error: Unhandled exception – Stack overflow


new Element called, therefore owned by List, so only List can delete Element. List_iter doesn’t require a destructor because it only contains a pointer.

solved Class destructor, runtime error: Unhandled exception – Stack overflow