Given a container (such as vector), the following errors are detected in EWL Debug mode:
- Incrementing an iterator beyond end().
- Decremented an iterator before begin().
- Dereferencing an iterator that it not dereferenceable.
- Any use of an invalid iterator besides assigning a valid value to it.
- Passing an iterator to a container method when that iterator does not point into that container.
- Comparison of two iterators that don't point into the same container.