Hello,
I have a vector filled with a structure. Now, I do
pMyVec.erase (pMyVec.begin() + 2) for example.
Now.. my question. Will pMyVec[2] still work for the next item? or do I have to shift back the items following the iterator I erased?
Hello,
I have a vector filled with a structure. Now, I do
pMyVec.erase (pMyVec.begin() + 2) for example.
Now.. my question. Will pMyVec[2] still work for the next item? or do I have to shift back the items following the iterator I erased?
Y3K Network http://www.y3knetwork.com
Bringing the software of the future on the net.