24 Numerics library [numerics]

24.8 Numeric arrays [numarray]

24.8.3 valarray non-member operations [valarray.nonmembers]

24.8.3.4 valarray specialized algorithms [valarray.special]

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