This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using C++ in GCC is OK


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]