cpp/iterator/common iterator/iter swap

Swaps the objects pointed to by two underlying iterators. The behavior is undefined if does not hold an  object or  does not hold an  object (i.e. at least one of  and  does not hold an iterator).

The function body is equivalent to.

Return value
(none)

Complexity
Constant.