Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!lll-winken!unixhub!shelby!neon!pescadero.Stanford.EDU!philip From: philip@pescadero.Stanford.EDU (Philip Machanick) Newsgroups: comp.lang.c++ Subject: Base class access: by name only? Message-ID: <1990Nov19.012937.27283@Neon.Stanford.EDU> Date: 19 Nov 90 01:29:37 GMT Sender: news@Neon.Stanford.EDU (USENET News System) Reply-To: philip@pescadero.stanford.edu Organization: Computer Science Department, Stanford University Lines: 9 In some other object-oriented languages, it is possible to access the superclass (base class in C++) without using its name. In C++, it seems you have to use the base class name to get to a member redefined in the current class. This strikes me as inconvenient; if I redesign my class hierarchy, I have to remember to edit such occurences of base class names as needed. Am I missing something, or is this a serious limitation? -- Philip Machanick philip@pescadero.stanford.edu