Path: utzoo!yunexus!geac!torsqnt!news-server.csri.toronto.edu!mailrus!uwm.edu!ogicse!orstcs!mist!budd From: budd@mist.cs.orst.edu (Tim Budd) Newsgroups: comp.lang.c++ Subject: renaming Message-ID: <18591@orstcs.CS.ORST.EDU> Date: 29 May 90 18:04:51 GMT Article-I.D.: orstcs.18591 Sender: usenet@orstcs.CS.ORST.EDU Reply-To: budd@mist.CS.ORST.EDU (Tim Budd) Organization: Oregon State University, Corvallis Lines: 23 When using inheritance, particularly multiple inheritance, it seems I often miss the ability to do renaming, as in Eiffel. Expanding on the syntax used to create pure virtual functions, it would be nice to do something like the following: class foo : public bar, pubic baz { ... void gak(int i) = bar::geek; .. } where geek is a method defined in bar which takes the same argument list as gak. As it stands, now I have to do something like the following class foo : public bar, pubic baz { ... void gak(int i) { bar::geek(i); } .. } which is arguably no less readable, but does introduce the run-time overhead of one additional function invocation.