If I have classes B, and C which are derived from class A, is it possible to store objects of B and C in an STL list declared as list<A> myList; or will these be stored as objects of class A only.
When I iterate through the loop and run a display method I only seem to get details from the baseclass, A.