Need help in using a STL list and polymorphism

Pages: 12
Dec 19, 2012 at 2:21pm
You also have a memory leak in your X class. You have no dtor, but you should implement one and delete every A pointer. This should clear up the memory leak issue.
Topic archived. No new replies allowed.
Pages: 12