From 4772954763772195189
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,8c9f1307b83ac2db
X-Google-Attributes: gidf78e5,public
From: Barry Margolin <barmar@bbnplanet.com>
Subject: Re: Q: virtual functions not overridable anymore?
Date: 1997/09/08
Message-ID: <5v232a$jot@tools.bbnplanet.com>#1/1
X-Deja-AN: 271083632
References: <01bcb109$1e790180$433574cf@worldnet.worldnet.att.net> <01bcb951$ea80a440$909c389d@mtayler> <ocr4t7zlk2o.fsf@ml.com> <5ut97j$nkr@bgtnsc02.worldnet.att.net>
X-Original-Date: 8 Sep 1997 19:51:38 -0400
Originator: austern@isolde.mti.sgi.com
Organization: GTE Internetworking, Cambridge, MA
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBVAwUBNBSm+Ey4NqrwXLNJAQFluAH+Obbv8GBfjKHccD/7OBl+WmTKNnjLPMDI 7KgnDPX8GSMYMo+j37fumcuaLvBCxuSnQY5x+B1tcweNckkN2byRvg== =UCPK
Newsgroups: comp.std.c++


In article <5ut97j$nkr@bgtnsc02.worldnet.att.net>,
Cristian Georgescu <Cristian.Georgescu@worldnet.att.net> wrote:
>The idea is that I do not want the classes that inherit from YellowApple to
>override the getColor().

Why do you want to prevent someone from implementing a DecayedYellowApple
subclass?

-- 
Barry Margolin, barmar@bbnplanet.com
GTE Internetworking, Powered by BBN, Cambridge, MA
Support the anti-spam movement; see <http://www.cauce.org/>
Please don't send technical questions directly to me, post them to newsgroups.
---
[ 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 
]



