Original Post
Does C++ destroy instances in the opposite order?
Construction:
class cClass
{
public:
cClass2 Class2;
sStruct* LinkedList;
int numberofstructsinlist;
cClass();
~cClass();
};
So the Destruction:
Every sStruct beginnin at the tail, ending at the head.
Then the cClass2
Then the cClass.
Am I correct?
Report to moderator
.lick