CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: GCDEF

Search: Search took 0.38 seconds.

  1. Replies
    11
    Views
    2,975

    Re: virtual destructor

    That assumes that the designer of the base class knows the implementations of the classes that will be derived from it, and that's a bad assumption to make. There's no reason not to make a...
  2. Replies
    11
    Views
    2,975

    Re: virtual destructor

    What do you mean "If you have a virtual statement"? Destructors should be virtual so that derived classes can clean up after themselves properly.
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured