Posted by Daniel Longest on April 20, 2001 at 02:35:39:
In Reply to: iterator troubles posted by Ben DeVane on April 19, 2001 at 18:27:47:
Your iterator will be of type Creature*, not Creature.
: How are we supposed to instatiate iterators of type
: Creature if Creature is an abstract class?
: If we use an iterator of say Plant, then said iterator cannot be set equal to the front of the list because of inheritance issues.
: How are we supposed to get around this? any suggestions?
Post a Followup