9 Iterators library [iterators]

9.7 Iterator adaptors [iterators.predef]

9.7.4 Common iterators [iterators.common]

9.7.4.2 common_iterator operations [common.iter.ops]

9.7.4.2.8 iter_swap [common.iter.op.iter_swap]

template <IndirectlySwappable<I> I2> friend void iter_swap(const common_iterator& x, const common_iterator<I2>& y) noexcept(see below);

Requires: !x.is_sentinel && !y.is_sentinel.

Effects: Equivalent to ranges::iter_swap(x.iter, y.iter).

Remarks: The expression in noexcept is equivalent to:

noexcept(ranges::iter_swap(x.iter, y.iter))