From 4451633592831672415
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,c9300cc6a0b28243
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2003-08-05 11:25:20 PST
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newspump.monmouth.com!newspeer.monmouth.com!kibo.news.demon.net!mutlu.news.demon.net!demon!mail2news.demon.co.uk!devnull
From: richard@ex-parrot.com (Richard Smith)
Newsgroups: comp.std.c++
Subject: Re: no_base_call
Date: Tue, 5 Aug 2003 18:25:19 +0000 (UTC)
Organization: Posted via Supernews, http://www.supernews.com
Lines: 18
Approved: fjh@cs.mu.oz.au (Fergus Henderson , moderator of comp.std.c++)
Message-ID: <Pine.LNX.4.55.0308051622460.31618@sphinx.mythic-beasts.com>
References: <_azXa.385380$jp.11007710@twister.southeast.rr.com>
 <memo.20030804224451.61301B@brangdon.madasafish.com>
 <a4OXa.321878$nr.13166846@twister.southeast.rr.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Trace: mail2news.demon.co.uk 1060107919 13123 10.0.0.1 (5 Aug 2003 18:25:19 GMT)
X-Complaints-To: abuse@demon.net
NNTP-Posting-Date: Tue, 5 Aug 2003 18:25:19 +0000 (UTC)
X-Received: from mulga.cs.mu.oz.au ([128.250.1.22])
	by news.demon.co.uk with esmtp (Exim 4.12)
	id 19k6Uo-0003PW-00
	for mail2news@news.news.demon.net; Tue, 05 Aug 2003 18:25:18 +0000
X-Received: from localhost (localhost [[UNIX: localhost]]) by mulga.cs.mu.OZ.AU
	id EAA14719; Wed, 6 Aug 2003 04:25:11 +1000 (EST)
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Path: comp-std-cpp-robomod!not-for-mail
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-Delivered-To: std-c++@ucar.edu
X-Newsgroups: comp.std.c++
X-X-Sender: richard@sphinx.mythic-beasts.com
X-Spam-Status: No, hits=-6.0 required=5.0
	tests=AWL,BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES,
	      REPLY_WITH_QUOTES,USER_AGENT_PINE
	version=2.55
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
Xref: archiver1.google.com comp.std.c++:20470

Jeff Williams wrote:

> If the base class version was private, then the derived classes would not be
> able to over-ride the function anyways.

Wrong.  A derived class can override virtual functions in a
base irrespective of their access specifier (i.e. whether
they are private, protected or public).

-- 
Richard Smith

---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.jamesd.demon.co.uk/csc/faq.html                       ]



