Constructors and multiple virtual inheritance -- bug or feature?
Alexandre Oliva
oliva@dcc.unicamp.br
Wed Dec 9 05:36:00 GMT 1998
On Dec 9, 1998, Alexandre Oliva <oliva@dcc.unicamp.br> wrote:
> On Dec 9, 1998, csk@cs.washington.edu (Craig Kaplan) wrote:
>> I should be able to singly inherit from any class without having to
>> know about the initialization nightmares of its ancestry.
> Then avoid virtual inheritance.
I mean, avoid virtual inheritance with non-default constructors.
That's the generally recommended practice.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil
More information about the Gcc-bugs
mailing list