I\'ve enabled iterator debugging in an application by defining
_HAS_ITERATOR_DEBUGGING = 1
I was expecting this to really just check vector
According to http://msdn.microsoft.com/en-us/library/aa985982%28v=VS.80%29.aspx
The C++ standard describes which member functions cause iterators to a container to become invalid. Two examples are:
- Erasing an element from a container causes iterators to the element to become invalid.
- Increasing the size of a vector (push or insert) causes iterators into the vector container become invalid.