Hi,

I have a Vector containing GeometricObject pointers. (3d objects I use in my raytracer program). I was wondering if when I call clear() on the vector, only the items of the vector are destroyed or also the GeometricObjects itself are deleted?

Or do I have to clean the pointers and delete the GeometricObjects to avoid memory leaks manually?