#include "listnode.h"
#include "aClient.h"
+
template <class T>
class List {
public:
{
tempPtr = currentPtr;
currentPtr = currentPtr->Next();
-// if (!tempPtr->getData()->stats || tempPtr->getData()->stats->started == 0)
cout << "Deleting Memory address: " << tempPtr->getData() << endl << flush;
delete tempPtr;
-// else
-// tempPtr->getData()->stats->started = 0;
}
cout << "All Nodes destroyed" << endl;
}