|
-
September 4th, 2002, 12:19 AM
#1
Quick Destructor Question
A quick question that should have a simple answer:
I know that when you construct an object that inherits from another class, the parent class(es) constructors' are called to construct their portion of the object. My question is, when the destructor for the object is called, does it call the parent class(es) destructors also? And, does making the destructor virtual affect this behavior?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|