Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!boulder!stan!garya From: garya@Solbourne.COM (Gary Aitken) Newsgroups: comp.lang.c++ Subject: Re ptr to member function, even worse Message-ID: <1015@garya.Solbourne.COM> Date: 8 May 89 14:50:35 GMT Organization: Solbourne Computer Inc., Longmont, Co. Lines: 18 > at this time you knew > *exactly* what type it was and what its VF set was. The problem is, "I" didn't create the object. The dispatch code is deep inside an X window system toolkit, compiled separately and made into a library. The function is a member function for either a toolkit object, in which case I would know more, or a user application program object, in which case I know absolutely nothing. I don't know the difference, and it doesn't matter, since even if I did, the application program objects are still totally undefined. The only thing I know is that it is a member function; the only way I know that is I have a non-null object ptr. (The dispatch mechanism allows for calling non member functions as well, but that's easy.). -- Gary Aitken Solbourne Computer Inc. ARPA: garya@Solbourne.COM Longmont, CO UUCP: ...!{boulder,sun}!stan!garya