home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!rutgers!uwvax!ordin.cs.wisc.edu!roth
- From: roth@ordin.cs.wisc.edu (Bill Roth)
- Newsgroups: comp.lang.c++
- Subject: a few rookie questions about testing for CLASSS membership.
- Message-ID: <1992Aug25.204448.15682@cs.wisc.edu>
- Date: 25 Aug 92 20:44:48 GMT
- Sender: news@cs.wisc.edu (The News)
- Organization: U of Wisconsin Madison - Computer Sciences
- Lines: 16
-
-
- I'm a relative rookie to C++, though not to OOP (due to many moons of
- programming in Objective-C).
-
- 1. I have a pointer p to some object. How do I test if p is a member
- of the CLASS a.
-
- 2. Is there a way to test if p, which is a pointer to an object, can
- test if p can execute method m?
-
- Please email your replies.
- --
-
- -------------------------------------------------------------------
- Bill Roth, University of Wisconsin Computer Sciences Dept.
- Internet: roth@cs.wisc.edu. BITNET: ROTH@WISCPSL. HEPNET: PSL::ROTH
-