# 20 General utilities library [utilities]

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

Constraints: is_swappable_v<T> is

true
for every type

T in

Types. Remarks: The expression inside

noexcept is equivalent to:

noexcept(x.swap(y))

Effects: As if by

x.swap(y).