If a vector can hold multiple objects of a different type, then how can one distinguish between them?
If it can't, then what is recommended to allow the placement of different object types into a single structure that may be referenced at any time and the object's type can be inferred and understood?
I am not referring to a union although I know it will do the job but not in a way I desire.