[K42-discussion] virtual destructors

Donour Sizemore donour at cs.unm.edu
Tue Jul 11 08:23:45 EST 2006


Maria Butrico wrote:
>
> "C++ requires that classes with virtual methods define a virtual
> destructor. Older versions of gcc allow you to get away without it, but
> gcc4 enforces it."
>   
Which was slightly in error. It doesn't actually enforce it, it just 
warns you, but with Werror it's the same thing.

donour



More information about the K42-discussion mailing list