shirley@m.cs.uiuc.edu (12/01/89)
I find myself with a C++ problem. I have a list of pointers to objects of type SUPER. SUPER has subclasses SUBi, i = 1, 2, 3,... I want to go through the list and extract the pointers that reference objects of class SUB3 say. To do this I either need a type function or flag in the superclass which seems like a hack (especially if I don't own SUPER). Am I 1) making a design mistake? 2) missing a C++ technique? 3) finding a problem with C++? Thanks, pete shirley shirley@m.cs.uiuc.edu