home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!munnari.oz.au!metro!extro.ucc.su.OZ.AU!maxtal
- From: maxtal@extro.ucc.su.OZ.AU (John MAX Skaller)
- Subject: Re: Question About Code In ARM
- Message-ID: <1993Jan26.220753.5187@ucc.su.OZ.AU>
- Sender: news@ucc.su.OZ.AU
- Nntp-Posting-Host: extro.ucc.su.oz.au
- Organization: MAXTAL P/L C/- University Computing Centre, Sydney
- References: <1993Jan20.014738.8501@ctp.com> <1993Jan20.233819.24771@ucc.su.OZ.AU> <DOUG.93Jan21151105@monet.ads.com>
- Date: Tue, 26 Jan 1993 22:07:53 GMT
- Lines: 36
-
- In article <DOUG.93Jan21151105@monet.ads.com> doug@monet.ads.com (Doug Morgan) writes:
- >In article <1993Jan20.233819.24771@ucc.su.OZ.AU> maxtal@extro.ucc.su.OZ.AU (John MAX Skaller) writes:
- > In article <1993Jan20.014738.8501@ctp.com> dchen@ctp.com (Denys Chen) writes:
- > >(In another word, can we remove ", public virtual W" ?)
- > > ^^^^^^^^^^^^^^^^^^
- >
- > Depends. The requirement "you can only initialise an
- > immediate base"...
- >
- >Actually, the ARM statement (pg. 290) is "Initializers for immediate
- >base classes ... may be specified in the definition of a constructor."
- >It doesn't come right our and say ONLY immediate base classes can be
- >initialized.
- >Of course, the (supposedly superfluous) commentary seems
- >to think this when it says "Disallowing the initialization of indirect
- >bases...". In any case, someone (I think it was Stephen Clamage) said
- >the (quasi-implied) restriction has been tossed from the latest
- >version of the proposed standard.
-
- Better not be tossed out: its an important restriction.
-
- >
- >Hopefully the sections on virtual base classes for the final standard
- >will be heavily edited by someone with a nack for logical expression
- >in English. Those sections are really a mess in the ARM.
-
- Even better, the rule for virtual base initialisation
- could be improved so you dont have to init every VB in the complete
- object .. a real mess when you're mixing 20 VB together.
-
-
- --
- ;----------------------------------------------------------------------
- JOHN (MAX) SKALLER, maxtal@extro.ucc.su.oz.au
- Maxtal Pty Ltd, 6 MacKay St ASHFIELD, NSW 2131, AUSTRALIA
- ;------ SCIENTIFIC AND ENGINEERING SOFTWARE ---ph: 2 799 8223 --------
-