Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!apple!joemac From: joemac@Apple.COM (Joe MacDougald) Newsgroups: comp.lang.c++ Subject: Re: fixing pitfall in virtual members Message-ID: <685@internal.Apple.COM> Date: 15 Feb 89 18:21:51 GMT References: Distribution: comp Organization: Apple Computer Inc, Cupertino, CA Lines: 15 There has been a proposal here at Apple to extend the language to cover this unsafe situation. The keyword suggested to be required when a virtual function was specialized in a derived class is "overload". This keyword is required in Object Pascal in the analogous situation. For portability one could simply "#define overload virtual". This was suggested to Bjarne but alas the language is too mature for such an addition. | UUCP ...!{decwrl, inhp4, hplabs, sun}!apple!joemac | | Domain joemac@apple.com | | AppleLink MACDOUGALD1 | | "be the ball ..." |