S
SpreadTooThin
If you have a list of object like:
class image : public std::list<element>
Then does the element class need the copy constructor, operator=() and
the destructor methods implemented?
Seems to me that when the image is detroyed that the list is not
cleared...
Maybe this is why people are telling me I shouldn't inherit from
std::list....
class image : public std::list<element>
Then does the element class need the copy constructor, operator=() and
the destructor methods implemented?
Seems to me that when the image is detroyed that the list is not
cleared...
Maybe this is why people are telling me I shouldn't inherit from
std::list....