23 General utilities library [utilities]

23.5 Tuples [tuple]

23.5.3 Class template tuple [tuple.tuple]

23.5.3.10 Tuple specialized algorithms [tuple.special]

template <class... Types> void swap(tuple<Types...>& x, tuple<Types...>& y) noexcept(see below);

Remarks: This function shall not participate in overload resolution unless is_­swappable_­v<> is true for all i, where . The expression inside noexcept is equivalent to:

noexcept(x.swap(y))

Effects: As if by x.swap(y).