Limit of 255 superclasses too low?

Uli Kusterer <witness@t-online.de>
21 Nov 2003 00:39:16 -0500

          From comp.compilers

Related articles
Limit of 255 superclasses too low? witness@t-online.de (Uli Kusterer) (2003-11-21)
Re: Limit of 255 superclasses too low? d699rb302@sneakemail.com (Tim Olson) (2003-12-03)
Re: Limit of 255 superclasses too low? cfc@shell01.TheWorld.com (Chris F Clark) (2003-12-03)
Re: Limit of 255 superclasses too low? witness@t-online.de (Uli Kusterer) (2004-02-13)
Re: Limit of 255 superclasses too low? witness@t-online.de (Uli Kusterer) (2004-02-13)
Re: Limit of 255 superclasses too low? cfc@shell01.TheWorld.com (Chris F Clark) (2004-02-26)
| List of all articles for this month |

From: Uli Kusterer <witness@t-online.de>
Newsgroups: comp.compilers
Date: 21 Nov 2003 00:39:16 -0500
Organization: T-Online
Keywords: C++, question
Posted-Date: 21 Nov 2003 00:39:16 EST

Hi,


  does any of you have a project (*any* project) where you have a class
that has more than 255 superclasses? I.e.




class foo // no base classes.
{
};


class bar : foo // one superclass (foo).
{
};


class baz : bar // two superclasses (foo and bar)
{
};


Is that a realistic limit? Or will some more advanced projects run into
trouble with this approach? Does anybody know what figures other
languages (like Objective C) are working with?


Thanks for any clues.
-- Uli
[Interesting question. I doubt that code written by humans would have
hundreds of superclasses, but what about code written by other programs?
- John]


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.