But only for the removed element. That is okay. I was thinking about the pointers of the other elements that still remain in the vector.
and what happens if I do ``` //in the class implementation cpp file T* getRaw(int i) { return this->vecOfPtrs[i].get(); }, void deleteEntry(int i) { this->vecOfPtrs.erase(the i-th element) }, //in main.cpp int main() { MyPtrHolder data; data.add(24); data.add(25); int* p = data.getRaw(0); data.deleteEntry(0); std::cout<<*p<<"\n"; // crash here }, ```