Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!mit-eddie!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!icdoc!sot-ecs!gvc87r From: gvc87r@ecs.soton.ac.uk (Gary Chambers) Newsgroups: comp.lang.c++ Subject: Polymorphism (virtual functions) question Summary: Any way for polymorphism across classes not sharing base? Keywords: polymorphism virtual inheritance base class Message-ID: <6882@ecs.soton.ac.uk> Date: 21 Feb 91 14:19:54 GMT Sender: news@ecs.soton.ac.uk Lines: 16 Hello. Does anybody know for certain whether it is possible or impossible/impractical for two classes having virtual member functions with the same name, args etc. to use dynamic binding. My principal concern is in the use of class libraries where I would like to use objects of a given class in one library, say, and also objects from another library using dynamic binding to call a certain procedure where the actual class of the object (one from either of the libraries) is not known at compile time. Thanks in advance, Gary Chambers, Dept. Electronics & Computer Science, University of Southampton, U.K.