From 672946494733355906
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,8c9f1307b83ac2db
X-Google-Attributes: gidf78e5,public
From: "Cristian Georgescu" <Cristian.Georgescu@worldnet.att.net>
Subject: Re: Q: virtual functions not overridable anymore?
Date: 1997/09/12
Message-ID: <01bcbf53$2ccaa4c0$183274cf@worldnet.worldnet.att.net>#1/1
X-Deja-AN: 271987095
References: <01bcb109$1e790180$433574cf@worldnet.worldnet.att.net> <3404A0AE.6F7E@Eng.Sun.COM> <5uimip$l56@bgtnsc03.worldnet.att.net> <340D93AA.643A@Eng.Sun.COM> <01bcb951$ea80a440$909c389d@mtayler> <ocr4t7zlk2o.fsf@ml.com> <34166C9E.1882@pratique.fr> <5v719t$7g1@mulga.cs.mu.OZ.AU>
X-Original-Date: 12 Sep 1997 08:11:32 GMT
Organization: Opal Technologies
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBVAwUBNBmpZ0y4NqrwXLNJAQGfIAH/XkwtQ/ye8LO4r6bvqZ5xe4+DO1DdCO3v Fq/qmHI6iIlvDnBNojrKVUE9LTNyqIAG4YdAvuLzp77gyOuijIkyzA== =KlGg
Newsgroups: comp.std.c++
Originator: austern@isolde.mti.sgi.com


Fergus Henderson <fjh@mundook.cs.mu.OZ.AU> wrote in article
<5v719t$7g1@mulga.cs.mu.OZ.AU>...
> Even in a hypothetical language C+=42 that did allow such dynamic class
> creation and runtime derivation, the principle would not always apply.
> If you're using private inheritence, then that the fact that
> `foo' "is-a" `bar' is private, and so classes derived from `foo'
> should not be able to take advantage of that.
> 

You can override a virtual private function from the base class. 
But this is another problem.


-- 
Cristian Georgescu
_________________________________________________
    Smith Industries
    Aerospace & Defense Systems
    7-9 Vreeland Road,
    Florham Park, NJ 07932, USA.
_________________________________________________
E-mail: Georgescu_Christian@si.com      
---
[ comp.std.c++ is moderated.  To submit articles: Try just posting with your 
                newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu 
]



