Question PRG-CPP-0056
MediumWhat happens to iterators of a std::vector after push_back causes a reallocation?
- A.
They are all invalidated
- B.
They point to the new elements automatically
- C.
Sign up free to see the answer and a step-by-step explanation.