suppose you have a random access iterator (eg of std::vector myVector)
std::vector myVector
when iter + someInt is past-end-iterator, iter + someInt == my
iter + someInt
iter + someInt == my
It's Undefined Behavior. Anything may happen. Just to name a few of the options: Nothing at all, program exits, exception, crash.