From 8610426706104962072
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,ccbfcafab96cf493
X-Google-Attributes: gidf78e5,public
X-Google-ArrivalTime: 2001-11-28 11:05:02 PST
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!dispose.news.demon.net!news.demon.co.uk!demon!mail2news.demon.co.uk!not-for-mail
From: Pete Becker <petebecker@acm.org>
Newsgroups: comp.std.c++
Subject: Re: Proposol to increase robustness of programs
Date: Wed, 28 Nov 2001 19:03:57 GMT
Organization: Dinkumware, Ltd
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
Message-ID: <3C04345C.1CB4BEF@acm.org>
References: <3C025715.9050709@earthlink.net> <memo.20011127230352.3025E@brangdon.madasafish.com>
X-Trace: mail2news.demon.co.uk 1006974242 mail2news:10569 mail2news mail2news.demon.co.uk
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: news.demon.net!mulga.cs.mu.oz.au
X-Authentication-Warning: mulga.cs.mu.OZ.AU: fjh set sender to devnull@stump.algebra.com using -f
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Date: 28 Nov 2001 00:48:02 GMT
X-Accept-Language:  en
Lines: 30
Xref: archiver1.google.com comp.std.c++:8339

Dave Harris wrote:
> 
> eldiener@earthlink.net (Edward Diener) wrote (abridged):
> > In the example given, the original poster wanted an addition to the
> > language added because he missed the fact that a member function
> > declared in a base class was virtual.
> 
> No. Perhaps you should read the example again.
> 
> The problem was that he ended up with *no* function (with matching
> signature) in the base class, not a virtual one. And he arrived there
> because of a change made by the base class's author; at the time the
> derived class was written, it was correct.

Good point: I missed that in the original discussion. Of course, any
maintainence programmer who changes a virtual function to non-virtual
should be immediately shot. No trial, no appeal, no pleas for clemency.
(Sorry about the harhs images -- I'm watching the news, so I'm in a foul
mood).

-- 
Pete Becker
Dinkumware, Ltd. (http://www.dinkumware.com)

---
[ 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.research.att.com/~austern/csc/faq.html                ]



