The compiler only provides a destructor if you do not explicitly define one.
Were you defining the destructor in both Derived2.h and Derived2.cpp? Can you show in code snippets?
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 11 of 11
Thread: destructorsThreaded View
|
Click Here to Expand Forum to Full Width |