Re: linux headers and C++

Chip Salzenberg (chip@perlsupport.com)
Wed, 7 Jul 1999 01:08:37 -0400


According to Khimenko Victor:
> Egcs has MUCH better implementation of C++ but not [yet] ANSI C++
> compliant.

To my knowledge, EGCS implements the entire ANSI C++ language. (I may
be misinformed, of course.)

On the other hand, the C++ *library* that ships with EGCS,
a.k.a. "libstdc++", is quite deficient.

On the gripping hand, work on libstdc++ proceeds apace.

> Yet again: multiple inheritance. Ugly code bloat in 99% cases.
> WHAT code can be inherited from abstract "Modem" ?

I agree that MI is not a good general-purpose tool. But it has
specific limited value in specific limited cases. One nice idiom,
for example, is mix-ins with MI and abstract classes. (This is the
closest thing in C++ to Java's "interface" feature, AFAIK.)

-- 
Chip Salzenberg      - a.k.a. -      <chip@perlsupport.com>
      "When do you work?"   "Whenever I'm not busy."

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/