std::swap (3) Linux Manual Page
std::swap – std::swap Synopsis Defined in header<algorithm>(until C++ 11) Defined in header<utility>(since C++ 11) template <class T> (until C++ 11) void swap(T &a, T &b); template <class T> (since C++ 11) void swap(T &a, T &b) noexcept(/* see below */); (until C++ 20) template <class T> (1)(since C++ 20) constexpr void swap(T &a, T &b)…
