Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!panix!not-for-mail From: jgk@panix.com (Joe keane) Newsgroups: comp.lang.c++ Subject: Re: Why doesn't this multiple virtual inheritance code compile? Date: Tue, 3 Jan 2012 14:12:55 +0000 (UTC) Organization: Public Access Networks Corp. Lines: 9 Message-ID: References: <785a07d6-7cf7-4249-a123-f7d7b4aaa8b3@l24g2000yqm.googlegroups.com> NNTP-Posting-Host: panix5.panix.com X-Trace: reader1.panix.com 1325599975 12106 166.84.1.5 (3 Jan 2012 14:12:55 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Tue, 3 Jan 2012 14:12:55 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Xref: x330-a1.tempe.blueboxinc.net comp.lang.c++:13025 In article <785a07d6-7cf7-4249-a123-f7d7b4aaa8b3@l24g2000yqm.googlegroups.com>, Chris Stankevitz wrote: > - Create an abstract base class "Shape" that must be an "Observer" > - Create an class "Square" that is a "Shape" and also an "ObserverImp" So a 'Shape' is an 'Observer', and a 'Square' is a type of 'Shape'. Now you want something that is an 'ObserverImp' [and it is square]. Wouldn't it make more sense to call it a 'SquareImp'?