Compares two iterators for checking if they are not in the same state.
- Parameters
-
| iterator1 | The first iterator to compare. |
| iterator2 | The second iterator to compare. |
- Returns
- true if one iterator is in the end state and the other is not; otherwise, false.
- Warning
- This method should be only used to compare an iterator with an end iterator. Do not use it for any other purpose.