28 Numerics library [numerics]

28.6 Numeric arrays [numarray]

28.6.3 valarray non-member operations [valarray.nonmembers]

28.6.3.4 Specialized algorithms [valarray.special]

template<class T> void swap(valarray<T>& x, valarray<T>& y) noexcept;
Effects: Equivalent to x.swap(y).