home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.std.c++
- Path: sparky!uunet!microsoft!hexnut!jimad
- From: jimad@microsoft.com (Jim Adcock)
- Subject: Re: Virtual base classes and mem initializers
- Message-ID: <1992Dec14.213114.20673@microsoft.com>
- Date: 14 Dec 92 21:31:14 GMT
- Organization: Microsoft Corporation
- References: <1992Dec11.165754.9910@Cadence.COM>
- Keywords: mem initializers, virtual base classes, multiple inheritance
- Lines: 12
-
- In article <1992Dec11.165754.9910@Cadence.COM> cox@cadence.com (Henry Cox) writes:
- |What I propose, then is that the virtual base class constructor call
- |be required _only_ at the apex of a multiple-inheritance cone.
- |Otherwise, the compiler should figure it out, from the base classes,
- |exactly as for a "normal" base class.
- |
- |Comments? Suggestions?
-
- 1) Don't use virtual base classes.
-
- 2) If you insist on using virtual base classes, use default constructors.
-
-