help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

destructor


From: STEVEN MARX
Subject: destructor
Date: Tue, 31 Jul 2007 12:17:59 -0700 (PDT)

I have an array as a class member which is constructed, using new, in a constructor.
The members of the array are pointers to a some class. Should i (must i) create a destructor to explicitly delete [] or can i rely on the compiler to take care of this
thank you.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]