Would there even be a need for a delete function, even if I allocated a new list with new, as long as I have my Remove() and my other function that will iterate through the entire list and remove each node?
If you mean the dtor yes. If the objects arent manually deleted they need
to be deleted by dtor at exit or end of scope. Atleast this is how I understand it.
Yes I understand that, but what code would the destructor function include if I already have defined a remove node function and a "destroy entire list" function?
That's what I was thinking. But the brief I'm working off clearly uses delete and then the "destroy entire list function". My thought is that it was redundant and one could use the same code for the destructor and Remove() function. I just wanted to get your opinions on that...