26 Numerics library [numerics]

26.6 Numeric arrays [numarray]

26.6.3 valarray non-member operations [valarray.nonmembers]

26.6.3.4 valarray specialized algorithms [valarray.special]

template <class T> void swap(valarray<T>& x, valarray<T>& y) noexcept;

Effects: x.swap(y).