Using C++ in GCC is OK

Gabriel Dos Reis gdr@integrable-solutions.net
Wed Jun 2 00:47:00 GMT 2010


On Tue, Jun 1, 2010 at 7:03 PM, DJ Delorie <dj@redhat.com> wrote:

> Maybe you and I have completely different ideas about how the whole
> class heirarchy works.  I'm not a firm believer that the base-most
> class should be an empty shell of a class that does nothing but
> provide a placeholder for umpteen direct-but-leaf derived classes.

I would recommend against the idea that the root class of a hierarchy
shall be empty -- except if it is an interface, e.g. an abstract class.



More information about the Gcc mailing list