Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this noncompliant code example, it is possible that the function is given a valid iterator but that the iterator is not within a the valid range of its container. For instance, if f() were called with iterators obtained from an empty container, the end() iterator could be improperly dereferenced.

...