home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / cplus / 12869 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  902 b 

  1. Path: sparky!uunet!stanford.edu!rutgers!uwvax!ordin.cs.wisc.edu!roth
  2. From: roth@ordin.cs.wisc.edu (Bill Roth)
  3. Newsgroups: comp.lang.c++
  4. Subject: a few rookie questions about testing for CLASSS membership.
  5. Message-ID: <1992Aug25.204448.15682@cs.wisc.edu>
  6. Date: 25 Aug 92 20:44:48 GMT
  7. Sender: news@cs.wisc.edu (The News)
  8. Organization: U of Wisconsin Madison - Computer Sciences
  9. Lines: 16
  10.  
  11.  
  12. I'm a relative rookie to C++, though not to OOP (due to many moons of
  13. programming in Objective-C).
  14.  
  15. 1. I have a pointer p to some object. How do I test if p is a member
  16. of the CLASS a.
  17.  
  18. 2. Is there a way to test if p, which is a pointer to an object, can
  19. test if p can execute method m?
  20.  
  21. Please email your replies.
  22. --
  23.  
  24. -------------------------------------------------------------------
  25. Bill Roth, University of Wisconsin Computer Sciences Dept.
  26. Internet: roth@cs.wisc.edu. BITNET: ROTH@WISCPSL. HEPNET: PSL::ROTH
  27.