Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!sgi!daisy!klee From: klee@daisy.UUCP (Ken Lee) Newsgroups: comp.lang.c++ Subject: Re: Multiple Inheritance Message-ID: <1528@daisy.UUCP> Date: 26 Aug 88 21:55:44 GMT References: <3690001@wdl1.UUCP> Reply-To: klee@daisy.UUCP (Ken Lee) Organization: Daisy Systems Corp., Mountain View, Ca. Lines: 23 You might want to read "Multiple Inheritance for C++" by Bjarne Stroustrup (Proceeding sof the EEUG Spring Conference, Helsinki, May, 1987). Multiple inheritance is difficult to implement, but once someone else has written the compiler, application programming is very easy. The Stroustrup paper discusses the implementation in C++. Multiple inheritance has many applications in the graphics world. For example, your window system may have graphics window, text window, and scrollable window classes. An application programmer may want to create a new class with properties from all three. Without multiple inheritance, this is very messy. Several of the popular user interface toolkits (e.g., X Toolkit, Andrew Toolkit) have this problem with single inheritance and can't wait for C++ with multiple inheritance. Ken Lee Daisy Systems Corp., Interactive Graphics Tools Dept. -- uucp: {ames!atari, ucbvax!imagen, nsc, pyramid, sgi, uunet}!daisy!klee arpanet: daisy!klee@sgi.com or daisy!klee@uunet.com Don't applaud, just throw money.