Let's say my object is called THING and it has a pointer to another THING. I want to be able to point the THING pointer within my object to any element within my vector of pointers to THINGS, but I don't want it to point to some trash value, so I'm wondering if the elements are initialized to NULL, which would work with how I'm building a class containing these objects and vector of object pointers.
Simply put, does anyone know what the elements in a vector of pointers are initialized to?
Edit: To clarify, I'm using the standard vector class in .