During my C ++ studies, I made this small training.
I am having a question about deleting all items from a VECTOR not using smartpointers. I made the destructors, but calling items inside the vector after the DELETE (lines 58.59 source file), they persist in memory.
This is undefined behavior. Your program will still compile and run, but its behavior is undefined. Do not dereference a pointer pointing to deleted data.